From ec05de2c39dbc026a9b05418353f360dbc189fa4 Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Thu, 26 Dec 2024 18:03:22 -0500 Subject: [PATCH 01/20] update Java version --- 1.00-starting-project/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../1.02-project-solution-lifecycle-methods/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../1.07-project-solution-order-tests/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 12 ++---------- .../1.10-project-solution-conditional-tests/pom.xml | 12 ++---------- .../01-fizzbuzz-project-solution-basic/pom.xml | 12 ++---------- .../pom.xml | 12 ++---------- .../03-fizzbuzz-project-solution-main-app/pom.xml | 12 ++---------- 2.00-starting-project/src/test/java/.keep | 0 15 files changed, 28 insertions(+), 68 deletions(-) create mode 100644 2.00-starting-project/src/test/java/.keep diff --git a/1.00-starting-project/pom.xml b/1.00-starting-project/pom.xml index 81b7d41..133a32f 100644 --- a/1.00-starting-project/pom.xml +++ b/1.00-starting-project/pom.xml @@ -9,8 +9,8 @@ 1.0 - 17 - 17 + 23 + 23 \ No newline at end of file diff --git a/1.01-starting-project-solutions/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/pom.xml b/1.01-starting-project-solutions/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/pom.xml index 1f2d236..47f4a27 100644 --- a/1.01-starting-project-solutions/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/pom.xml +++ b/1.01-starting-project-solutions/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/pom.xml @@ -9,8 +9,8 @@ 1.0 - 17 - 17 + 23 + 23 diff --git a/1.01-starting-project-solutions/1.02-project-solution-lifecycle-methods/pom.xml b/1.01-starting-project-solutions/1.02-project-solution-lifecycle-methods/pom.xml index 1f2d236..47f4a27 100644 --- a/1.01-starting-project-solutions/1.02-project-solution-lifecycle-methods/pom.xml +++ b/1.01-starting-project-solutions/1.02-project-solution-lifecycle-methods/pom.xml @@ -9,8 +9,8 @@ 1.0 - 17 - 17 + 23 + 23 diff --git a/1.01-starting-project-solutions/1.03-project-solution-custom-display-name/pom.xml b/1.01-starting-project-solutions/1.03-project-solution-custom-display-name/pom.xml index 1f2d236..47f4a27 100644 --- a/1.01-starting-project-solutions/1.03-project-solution-custom-display-name/pom.xml +++ b/1.01-starting-project-solutions/1.03-project-solution-custom-display-name/pom.xml @@ -9,8 +9,8 @@ 1.0 - 17 - 17 + 23 + 23 diff --git a/1.01-starting-project-solutions/1.04-project-solution-assert-same-not-same-AND-true-false/pom.xml b/1.01-starting-project-solutions/1.04-project-solution-assert-same-not-same-AND-true-false/pom.xml index 1f2d236..47f4a27 100644 --- a/1.01-starting-project-solutions/1.04-project-solution-assert-same-not-same-AND-true-false/pom.xml +++ b/1.01-starting-project-solutions/1.04-project-solution-assert-same-not-same-AND-true-false/pom.xml @@ -9,8 +9,8 @@ 1.0 - 17 - 17 + 23 + 23 diff --git a/1.01-starting-project-solutions/1.05-project-solution-assert-array-iterable-lines/pom.xml b/1.01-starting-project-solutions/1.05-project-solution-assert-array-iterable-lines/pom.xml index 1f2d236..47f4a27 100644 --- a/1.01-starting-project-solutions/1.05-project-solution-assert-array-iterable-lines/pom.xml +++ b/1.01-starting-project-solutions/1.05-project-solution-assert-array-iterable-lines/pom.xml @@ -9,8 +9,8 @@ 1.0 - 17 - 17 + 23 + 23 diff --git a/1.01-starting-project-solutions/1.06-project-solution-assert-throws-and-timeouts/pom.xml b/1.01-starting-project-solutions/1.06-project-solution-assert-throws-and-timeouts/pom.xml index 1f2d236..47f4a27 100644 --- a/1.01-starting-project-solutions/1.06-project-solution-assert-throws-and-timeouts/pom.xml +++ b/1.01-starting-project-solutions/1.06-project-solution-assert-throws-and-timeouts/pom.xml @@ -9,8 +9,8 @@ 1.0 - 17 - 17 + 23 + 23 diff --git a/1.01-starting-project-solutions/1.07-project-solution-order-tests/pom.xml b/1.01-starting-project-solutions/1.07-project-solution-order-tests/pom.xml index 1f2d236..47f4a27 100644 --- a/1.01-starting-project-solutions/1.07-project-solution-order-tests/pom.xml +++ b/1.01-starting-project-solutions/1.07-project-solution-order-tests/pom.xml @@ -9,8 +9,8 @@ 1.0 - 17 - 17 + 23 + 23 diff --git a/1.01-starting-project-solutions/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/pom.xml b/1.01-starting-project-solutions/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/pom.xml index 1f2d236..47f4a27 100644 --- a/1.01-starting-project-solutions/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/pom.xml +++ b/1.01-starting-project-solutions/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/pom.xml @@ -9,8 +9,8 @@ 1.0 - 17 - 17 + 23 + 23 diff --git a/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml b/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml index 487beb2..32bde44 100644 --- a/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml +++ b/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml @@ -9,8 +9,8 @@ 1.0 - 17 - 17 + 23 + 23 @@ -84,11 +84,3 @@ - - - - - - - - diff --git a/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml b/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml index 487beb2..32bde44 100644 --- a/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml +++ b/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml @@ -9,8 +9,8 @@ 1.0 - 17 - 17 + 23 + 23 @@ -84,11 +84,3 @@ - - - - - - - - diff --git a/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml b/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml index 487beb2..32bde44 100644 --- a/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml +++ b/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml @@ -9,8 +9,8 @@ 1.0 - 17 - 17 + 23 + 23 @@ -84,11 +84,3 @@ - - - - - - - - diff --git a/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml b/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml index 487beb2..32bde44 100644 --- a/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml +++ b/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml @@ -9,8 +9,8 @@ 1.0 - 17 - 17 + 23 + 23 @@ -84,11 +84,3 @@ - - - - - - - - diff --git a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml b/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml index 487beb2..32bde44 100644 --- a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml +++ b/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml @@ -9,8 +9,8 @@ 1.0 - 17 - 17 + 23 + 23 @@ -84,11 +84,3 @@ - - - - - - - - diff --git a/2.00-starting-project/src/test/java/.keep b/2.00-starting-project/src/test/java/.keep new file mode 100644 index 0000000..e69de29 From f88dee43159ec4159593e84218bfcc1bf663d619 Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Thu, 26 Dec 2024 18:05:31 -0500 Subject: [PATCH 02/20] update junit version --- .../pom.xml | 2 +- .../1.02-project-solution-lifecycle-methods/pom.xml | 2 +- .../1.03-project-solution-custom-display-name/pom.xml | 2 +- .../pom.xml | 2 +- .../1.05-project-solution-assert-array-iterable-lines/pom.xml | 2 +- .../1.06-project-solution-assert-throws-and-timeouts/pom.xml | 2 +- .../1.07-project-solution-order-tests/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../1.10-project-solution-conditional-tests/pom.xml | 2 +- .../01-fizzbuzz-project-solution-basic/pom.xml | 2 +- .../02-fizzbuzz-project-solution-parameterized-tests/pom.xml | 2 +- .../03-fizzbuzz-project-solution-main-app/pom.xml | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/1.01-starting-project-solutions/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/pom.xml b/1.01-starting-project-solutions/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/pom.xml index 47f4a27..2306c9b 100644 --- a/1.01-starting-project-solutions/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/pom.xml +++ b/1.01-starting-project-solutions/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/pom.xml @@ -18,7 +18,7 @@ org.junit.jupiter junit-jupiter - 5.8.2 + 5.11.4 test diff --git a/1.01-starting-project-solutions/1.02-project-solution-lifecycle-methods/pom.xml b/1.01-starting-project-solutions/1.02-project-solution-lifecycle-methods/pom.xml index 47f4a27..2306c9b 100644 --- a/1.01-starting-project-solutions/1.02-project-solution-lifecycle-methods/pom.xml +++ b/1.01-starting-project-solutions/1.02-project-solution-lifecycle-methods/pom.xml @@ -18,7 +18,7 @@ org.junit.jupiter junit-jupiter - 5.8.2 + 5.11.4 test diff --git a/1.01-starting-project-solutions/1.03-project-solution-custom-display-name/pom.xml b/1.01-starting-project-solutions/1.03-project-solution-custom-display-name/pom.xml index 47f4a27..2306c9b 100644 --- a/1.01-starting-project-solutions/1.03-project-solution-custom-display-name/pom.xml +++ b/1.01-starting-project-solutions/1.03-project-solution-custom-display-name/pom.xml @@ -18,7 +18,7 @@ org.junit.jupiter junit-jupiter - 5.8.2 + 5.11.4 test diff --git a/1.01-starting-project-solutions/1.04-project-solution-assert-same-not-same-AND-true-false/pom.xml b/1.01-starting-project-solutions/1.04-project-solution-assert-same-not-same-AND-true-false/pom.xml index 47f4a27..2306c9b 100644 --- a/1.01-starting-project-solutions/1.04-project-solution-assert-same-not-same-AND-true-false/pom.xml +++ b/1.01-starting-project-solutions/1.04-project-solution-assert-same-not-same-AND-true-false/pom.xml @@ -18,7 +18,7 @@ org.junit.jupiter junit-jupiter - 5.8.2 + 5.11.4 test diff --git a/1.01-starting-project-solutions/1.05-project-solution-assert-array-iterable-lines/pom.xml b/1.01-starting-project-solutions/1.05-project-solution-assert-array-iterable-lines/pom.xml index 47f4a27..2306c9b 100644 --- a/1.01-starting-project-solutions/1.05-project-solution-assert-array-iterable-lines/pom.xml +++ b/1.01-starting-project-solutions/1.05-project-solution-assert-array-iterable-lines/pom.xml @@ -18,7 +18,7 @@ org.junit.jupiter junit-jupiter - 5.8.2 + 5.11.4 test diff --git a/1.01-starting-project-solutions/1.06-project-solution-assert-throws-and-timeouts/pom.xml b/1.01-starting-project-solutions/1.06-project-solution-assert-throws-and-timeouts/pom.xml index 47f4a27..2306c9b 100644 --- a/1.01-starting-project-solutions/1.06-project-solution-assert-throws-and-timeouts/pom.xml +++ b/1.01-starting-project-solutions/1.06-project-solution-assert-throws-and-timeouts/pom.xml @@ -18,7 +18,7 @@ org.junit.jupiter junit-jupiter - 5.8.2 + 5.11.4 test diff --git a/1.01-starting-project-solutions/1.07-project-solution-order-tests/pom.xml b/1.01-starting-project-solutions/1.07-project-solution-order-tests/pom.xml index 47f4a27..2306c9b 100644 --- a/1.01-starting-project-solutions/1.07-project-solution-order-tests/pom.xml +++ b/1.01-starting-project-solutions/1.07-project-solution-order-tests/pom.xml @@ -18,7 +18,7 @@ org.junit.jupiter junit-jupiter - 5.8.2 + 5.11.4 test diff --git a/1.01-starting-project-solutions/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/pom.xml b/1.01-starting-project-solutions/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/pom.xml index 47f4a27..2306c9b 100644 --- a/1.01-starting-project-solutions/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/pom.xml +++ b/1.01-starting-project-solutions/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/pom.xml @@ -18,7 +18,7 @@ org.junit.jupiter junit-jupiter - 5.8.2 + 5.11.4 test diff --git a/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml b/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml index 32bde44..d4008b8 100644 --- a/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml +++ b/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml @@ -18,7 +18,7 @@ org.junit.jupiter junit-jupiter - 5.8.2 + 5.11.4 test diff --git a/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml b/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml index 32bde44..d4008b8 100644 --- a/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml +++ b/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml @@ -18,7 +18,7 @@ org.junit.jupiter junit-jupiter - 5.8.2 + 5.11.4 test diff --git a/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml b/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml index 32bde44..d4008b8 100644 --- a/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml +++ b/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml @@ -18,7 +18,7 @@ org.junit.jupiter junit-jupiter - 5.8.2 + 5.11.4 test diff --git a/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml b/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml index 32bde44..d4008b8 100644 --- a/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml +++ b/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml @@ -18,7 +18,7 @@ org.junit.jupiter junit-jupiter - 5.8.2 + 5.11.4 test diff --git a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml b/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml index 32bde44..d4008b8 100644 --- a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml +++ b/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml @@ -18,7 +18,7 @@ org.junit.jupiter junit-jupiter - 5.8.2 + 5.11.4 test From de3bd9b580b5dc4c4ecd0df27abd84afcc911927 Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Thu, 26 Dec 2024 20:51:01 -0500 Subject: [PATCH 03/20] update versions for plugins --- .../pom.xml | 43 ++++++++----------- 1 file changed, 19 insertions(+), 24 deletions(-) diff --git a/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml b/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml index d4008b8..0422378 100644 --- a/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml +++ b/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml @@ -24,43 +24,37 @@ - - + + org.apache.maven.plugins - maven-surefire-plugin - 3.0.0-M5 - + maven-surefire-report-plugin + 3.5.2 + + + + + + + + org.apache.maven.plugins - maven-surefire-report-plugin - 3.0.0-M5 - - - - test - - report - - - + maven-site-plugin + 3.21.0 org.jacoco jacoco-maven-plugin - 0.8.7 + 0.8.12 @@ -78,9 +72,10 @@ - + + From 3616a195489823bed7929fe24c368c869cf629ae Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Thu, 26 Dec 2024 20:53:22 -0500 Subject: [PATCH 04/20] update versions for plugins --- .../pom.xml | 2 +- .../pom.xml | 45 +++++++++---------- 2 files changed, 21 insertions(+), 26 deletions(-) diff --git a/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml b/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml index 0422378..924ab9e 100644 --- a/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml +++ b/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml @@ -78,4 +78,4 @@ - + \ No newline at end of file diff --git a/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml b/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml index d4008b8..924ab9e 100644 --- a/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml +++ b/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml @@ -24,43 +24,37 @@ - - + + org.apache.maven.plugins - maven-surefire-plugin - 3.0.0-M5 - + maven-surefire-report-plugin + 3.5.2 + + + + + + + + org.apache.maven.plugins - maven-surefire-report-plugin - 3.0.0-M5 - - - - test - - report - - - + maven-site-plugin + 3.21.0 org.jacoco jacoco-maven-plugin - 0.8.7 + 0.8.12 @@ -78,9 +72,10 @@ - + + - + \ No newline at end of file From 13236982aca1d902b7e6f78ef4ccc01a08768a64 Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Tue, 31 Dec 2024 21:45:19 -0500 Subject: [PATCH 05/20] updates for Java 23 and JUnit 5.11 --- 1.00-starting-project/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 43 ++++++++----------- .../pom.xml | 43 ++++++++----------- .../pom.xml | 43 ++++++++----------- 6 files changed, 60 insertions(+), 75 deletions(-) diff --git a/1.00-starting-project/pom.xml b/1.00-starting-project/pom.xml index 133a32f..b225939 100644 --- a/1.00-starting-project/pom.xml +++ b/1.00-starting-project/pom.xml @@ -13,4 +13,4 @@ 23 - \ No newline at end of file + diff --git a/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml b/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml index 924ab9e..0422378 100644 --- a/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml +++ b/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml @@ -78,4 +78,4 @@ - \ No newline at end of file + diff --git a/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml b/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml index 924ab9e..0422378 100644 --- a/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml +++ b/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml @@ -78,4 +78,4 @@ - \ No newline at end of file + diff --git a/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml b/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml index d4008b8..0422378 100644 --- a/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml +++ b/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml @@ -24,43 +24,37 @@ - - + + org.apache.maven.plugins - maven-surefire-plugin - 3.0.0-M5 - + maven-surefire-report-plugin + 3.5.2 + + + + + + + + org.apache.maven.plugins - maven-surefire-report-plugin - 3.0.0-M5 - - - - test - - report - - - + maven-site-plugin + 3.21.0 org.jacoco jacoco-maven-plugin - 0.8.7 + 0.8.12 @@ -78,9 +72,10 @@ - + + diff --git a/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml b/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml index d4008b8..0422378 100644 --- a/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml +++ b/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml @@ -24,43 +24,37 @@ - - + + org.apache.maven.plugins - maven-surefire-plugin - 3.0.0-M5 - + maven-surefire-report-plugin + 3.5.2 + + + + + + + + org.apache.maven.plugins - maven-surefire-report-plugin - 3.0.0-M5 - - - - test - - report - - - + maven-site-plugin + 3.21.0 org.jacoco jacoco-maven-plugin - 0.8.7 + 0.8.12 @@ -78,9 +72,10 @@ - + + diff --git a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml b/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml index d4008b8..0422378 100644 --- a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml +++ b/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml @@ -24,43 +24,37 @@ - - + + org.apache.maven.plugins - maven-surefire-plugin - 3.0.0-M5 - + maven-surefire-report-plugin + 3.5.2 + + + + + + + + org.apache.maven.plugins - maven-surefire-report-plugin - 3.0.0-M5 - - - - test - - report - - - + maven-site-plugin + 3.21.0 org.jacoco jacoco-maven-plugin - 0.8.7 + 0.8.12 @@ -78,9 +72,10 @@ - + + From fbf9dcff81fe764707cb62a3b2045a776eef6b6c Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Sat, 4 Jan 2025 00:04:24 -0500 Subject: [PATCH 06/20] updates for Java 23 and JUnit 5.11 --- .../pom.xml | 5 ----- .../1.10-project-solution-conditional-tests/pom.xml | 5 ----- .../01-fizzbuzz-project-solution-basic/pom.xml | 5 ----- .../02-fizzbuzz-project-solution-parameterized-tests/pom.xml | 5 ----- .../03-fizzbuzz-project-solution-main-app/pom.xml | 5 ----- 5 files changed, 25 deletions(-) diff --git a/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml b/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml index 0422378..c848022 100644 --- a/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml +++ b/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml @@ -31,11 +31,6 @@ org.apache.maven.plugins maven-surefire-report-plugin 3.5.2 - diff --git a/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml b/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml index 0422378..c848022 100644 --- a/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml +++ b/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml @@ -31,11 +31,6 @@ org.apache.maven.plugins maven-surefire-report-plugin 3.5.2 - diff --git a/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml b/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml index 0422378..c848022 100644 --- a/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml +++ b/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml @@ -31,11 +31,6 @@ org.apache.maven.plugins maven-surefire-report-plugin 3.5.2 - diff --git a/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml b/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml index 0422378..c848022 100644 --- a/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml +++ b/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml @@ -31,11 +31,6 @@ org.apache.maven.plugins maven-surefire-report-plugin 3.5.2 - diff --git a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml b/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml index 0422378..c848022 100644 --- a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml +++ b/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml @@ -31,11 +31,6 @@ org.apache.maven.plugins maven-surefire-report-plugin 3.5.2 - From 2d88e5fcaeedede0dad8895914b78ddaa5998952 Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Sat, 4 Jan 2025 00:41:03 -0500 Subject: [PATCH 07/20] updates for Java 23 and Spring Boot 3 --- 2.00-starting-project/pom.xml | 4 ++-- .../2.01-solution-junit-assertions/pom.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/2.00-starting-project/pom.xml b/2.00-starting-project/pom.xml index 2fb78b0..48bea2a 100644 --- a/2.00-starting-project/pom.xml +++ b/2.00-starting-project/pom.xml @@ -6,7 +6,7 @@ org.springframework.boot spring-boot-starter-parent - 2.6.2 + 3.4.0 @@ -15,7 +15,7 @@ 1.0.0 - 17 + 23 diff --git a/2.01-starting-project-solutions/2.01-solution-junit-assertions/pom.xml b/2.01-starting-project-solutions/2.01-solution-junit-assertions/pom.xml index 8a288fd..58fc6ff 100644 --- a/2.01-starting-project-solutions/2.01-solution-junit-assertions/pom.xml +++ b/2.01-starting-project-solutions/2.01-solution-junit-assertions/pom.xml @@ -6,7 +6,7 @@ org.springframework.boot spring-boot-starter-parent - 2.6.2 + 3.4.0 @@ -15,7 +15,7 @@ 1.0.0 - 17 + 23 From 29d07f8a4b53af3279e0db608830d3c3eeb7c4df Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Sat, 4 Jan 2025 01:06:34 -0500 Subject: [PATCH 08/20] updates for Java 23 and Spring Boot 3 --- 2.00-starting-project/pom.xml | 20 ++++++++++++++++++ .../2.01-solution-junit-assertions/pom.xml | 21 +++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/2.00-starting-project/pom.xml b/2.00-starting-project/pom.xml index 48bea2a..95e5004 100644 --- a/2.00-starting-project/pom.xml +++ b/2.00-starting-project/pom.xml @@ -16,6 +16,7 @@ 23 + @@ -31,6 +32,25 @@ org.springframework.boot spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + diff --git a/2.01-starting-project-solutions/2.01-solution-junit-assertions/pom.xml b/2.01-starting-project-solutions/2.01-solution-junit-assertions/pom.xml index 58fc6ff..fb68253 100644 --- a/2.01-starting-project-solutions/2.01-solution-junit-assertions/pom.xml +++ b/2.01-starting-project-solutions/2.01-solution-junit-assertions/pom.xml @@ -16,6 +16,7 @@ 23 + @@ -37,7 +38,27 @@ org.springframework.boot spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + \ No newline at end of file From d50cc83f4f332d8b759b0458429401c333c07cae Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Sat, 4 Jan 2025 03:28:46 -0500 Subject: [PATCH 09/20] Migrated usage of @MockBean (deprecated) to @MockitoBean (new) for Spring Boot 3.4 --- 2.20-starting-project/pom.xml | 24 +++++++++++++++++-- 2.21-starting-project-solutions/pom.xml | 24 +++++++++++++++++-- .../com/luv2code/test/MockAnnotationTest.java | 4 ++-- 3 files changed, 46 insertions(+), 6 deletions(-) diff --git a/2.20-starting-project/pom.xml b/2.20-starting-project/pom.xml index 8a288fd..c4a3c59 100644 --- a/2.20-starting-project/pom.xml +++ b/2.20-starting-project/pom.xml @@ -6,7 +6,7 @@ org.springframework.boot spring-boot-starter-parent - 2.6.2 + 3.4.0 @@ -15,7 +15,8 @@ 1.0.0 - 17 + 23 + @@ -37,6 +38,25 @@ org.springframework.boot spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + diff --git a/2.21-starting-project-solutions/pom.xml b/2.21-starting-project-solutions/pom.xml index 8a288fd..beb7006 100644 --- a/2.21-starting-project-solutions/pom.xml +++ b/2.21-starting-project-solutions/pom.xml @@ -6,7 +6,7 @@ org.springframework.boot spring-boot-starter-parent - 2.6.2 + 3.4.0 @@ -15,7 +15,8 @@ 1.0.0 - 17 + 23 + @@ -37,6 +38,25 @@ org.springframework.boot spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + diff --git a/2.21-starting-project-solutions/src/test/java/com/luv2code/test/MockAnnotationTest.java b/2.21-starting-project-solutions/src/test/java/com/luv2code/test/MockAnnotationTest.java index 08d2aea..2c16b14 100644 --- a/2.21-starting-project-solutions/src/test/java/com/luv2code/test/MockAnnotationTest.java +++ b/2.21-starting-project-solutions/src/test/java/com/luv2code/test/MockAnnotationTest.java @@ -12,8 +12,8 @@ import org.mockito.Mock; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.boot.test.mock.mockito.MockBean; import org.springframework.context.ApplicationContext; +import org.springframework.test.context.bean.override.mockito.MockitoBean; import static org.junit.jupiter.api.Assertions.*; import static org.mockito.Mockito.*; @@ -31,7 +31,7 @@ public class MockAnnotationTest { StudentGrades studentGrades; // @Mock - @MockBean + @MockitoBean private ApplicationDao applicationDao; // @InjectMocks From 75c155cc6bba9cc106d0e499a4752c4e8bdf32c1 Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Mon, 6 Jan 2025 22:43:54 -0500 Subject: [PATCH 10/20] clean up --- .../pom.xml | 0 .../com/luv2code/junitdemo/DemoUtils.java | 0 .../com/luv2code/junitdemo/DemoUtilsTest.java | 0 .../pom.xml | 0 .../com/luv2code/junitdemo/DemoUtils.java | 0 .../com/luv2code/junitdemo/DemoUtilsTest.java | 0 .../pom.xml | 0 .../com/luv2code/junitdemo/DemoUtils.java | 0 .../com/luv2code/junitdemo/DemoUtilsTest.java | 0 .../pom.xml | 0 .../com/luv2code/junitdemo/DemoUtils.java | 0 .../com/luv2code/junitdemo/DemoUtilsTest.java | 0 .../pom.xml | 0 .../com/luv2code/junitdemo/DemoUtils.java | 0 .../com/luv2code/junitdemo/DemoUtilsTest.java | 0 .../pom.xml | 0 .../com/luv2code/junitdemo/DemoUtils.java | 0 .../com/luv2code/junitdemo/DemoUtilsTest.java | 0 .../1.07-project-solution-order-tests/pom.xml | 0 .../com/luv2code/junitdemo/DemoUtils.java | 0 .../com/luv2code/junitdemo/DemoUtilsTest.java | 0 .../pom.xml | 0 .../com/luv2code/junitdemo/DemoUtils.java | 0 .../com/luv2code/junitdemo/DemoUtilsTest.java | 0 .../pom.xml | 0 .../com/luv2code/junitdemo/DemoUtils.java | 0 .../com/luv2code/junitdemo/DemoUtilsTest.java | 0 .../pom.xml | 0 .../com/luv2code/junitdemo/DemoUtils.java | 0 .../luv2code/junitdemo/ConditionalTest.java | 0 .../com/luv2code/junitdemo/DemoUtilsTest.java | 0 .../pom.xml | 0 .../com/luv2code/junitdemo/DemoUtils.java | 0 .../main/java/com/luv2code/tdd/FizzBuzz.java | 0 .../luv2code/junitdemo/ConditionalTest.java | 0 .../com/luv2code/junitdemo/DemoUtilsTest.java | 0 .../java/com/luv2code/tdd/FizzBuzzTest.java | 0 .../src/test/resources/small-test-data.csv | 0 .../pom.xml | 0 .../com/luv2code/junitdemo/DemoUtils.java | 0 .../main/java/com/luv2code/tdd/FizzBuzz.java | 0 .../luv2code/junitdemo/ConditionalTest.java | 0 .../com/luv2code/junitdemo/DemoUtilsTest.java | 0 .../java/com/luv2code/tdd/FizzBuzzTest.java | 0 .../src/test/resources/large-test-data.csv | 0 .../src/test/resources/medium-test-data.csv | 0 .../src/test/resources/small-test-data.csv | 0 .../pom.xml | 0 .../com/luv2code/junitdemo/DemoUtils.java | 0 .../main/java/com/luv2code/tdd/FizzBuzz.java | 0 .../main/java/com/luv2code/tdd/MainApp.java | 0 .../luv2code/junitdemo/ConditionalTest.java | 0 .../com/luv2code/junitdemo/DemoUtilsTest.java | 0 .../java/com/luv2code/tdd/FizzBuzzTest.java | 0 .../src/test/resources/large-test-data.csv | 0 .../src/test/resources/medium-test-data.csv | 0 .../src/test/resources/small-test-data.csv | 0 .../2.01-solution-junit-assertions/HELP.md | 0 .../2.01-solution-junit-assertions/mvnw | 0 .../2.01-solution-junit-assertions/mvnw.cmd | 0 .../2.01-solution-junit-assertions/pom.xml | 0 .../MvcTestingExampleApplication.java | 0 .../component/models/CollegeStudent.java | 0 .../luv2code/component/models/Student.java | 0 .../component/models/StudentGrades.java | 0 .../src/main/resources/application.properties | 0 .../luv2code/test/ApplicationExampleTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../MvcTestingExampleApplication.java | 0 .../component/dao/ApplicationDao.java | 0 .../component/models/CollegeStudent.java | 0 .../luv2code/component/models/Student.java | 0 .../component/models/StudentGrades.java | 0 .../component/service/ApplicationService.java | 0 .../src/main/resources/application.properties | 0 .../luv2code/test/ApplicationExampleTest.java | 0 .../com/luv2code/test/MockAnnotationTest.java | 0 .../test/ReflectionTestUtilsTest.java | 0 3.00-starting-project/pom.xml | 28 +++++- .../springmvc/models/CollegeStudent.java | 2 +- .../springmvc/models/HistoryGrade.java | 2 +- .../luv2code/springmvc/models/MathGrade.java | 2 +- .../springmvc/models/ScienceGrade.java | 2 +- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../3.01-80-solution-final/pom.xml | 72 --------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 28 +++++- .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 2 +- .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 2 +- .../luv2code/springmvc/models/MathGrade.java | 2 +- .../springmvc/models/ScienceGrade.java | 2 +- .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 28 +++++- .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 2 +- .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 2 +- .../luv2code/springmvc/models/MathGrade.java | 2 +- .../springmvc/models/ScienceGrade.java | 2 +- .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/StudentAndGradeServiceTest.java | 7 +- .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 28 +++++- .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 2 +- .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 2 +- .../luv2code/springmvc/models/MathGrade.java | 2 +- .../springmvc/models/ScienceGrade.java | 2 +- .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/StudentAndGradeServiceTest.java | 6 +- .../HELP.md | 0 .../3.01-04-solution-get-gradebook-test/mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 28 +++++- .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 2 +- .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 2 +- .../luv2code/springmvc/models/MathGrade.java | 2 +- .../springmvc/models/ScienceGrade.java | 2 +- .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/StudentAndGradeServiceTest.java | 5 +- .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/StudentAndGradeServiceTest.java | 5 +- .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 5 +- .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../3.01-80-solution-final/HELP.md | 0 .../3.01-80-solution-final/mvnw | 0 .../3.01-80-solution-final/mvnw.cmd | 0 .../3.01-80-solution-final/pom.xml | 92 +++++++++++++++++++ .../MvcTestingExampleApplication.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 4.00-starting-project/pom.xml | 4 +- .../springmvc/models/CollegeStudent.java | 2 +- .../springmvc/models/HistoryGrade.java | 2 +- .../luv2code/springmvc/models/MathGrade.java | 2 +- .../springmvc/models/ScienceGrade.java | 2 +- .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 4 +- .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../StudentOrGradeErrorResponse.java | 0 .../StudentOrGradeNotFoundException.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../solution-4.01-03-get-students-test/mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 4 +- .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../StudentOrGradeErrorResponse.java | 0 .../StudentOrGradeNotFoundException.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../solution-4.01-04-create-student/HELP.md | 0 .../solution-4.01-04-create-student/mvnw | 0 .../solution-4.01-04-create-student/mvnw.cmd | 0 .../solution-4.01-04-create-student/pom.xml | 4 +- .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../StudentOrGradeErrorResponse.java | 0 .../StudentOrGradeNotFoundException.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../solution-4.01-05-delete-student/HELP.md | 0 .../solution-4.01-05-delete-student/mvnw | 0 .../solution-4.01-05-delete-student/mvnw.cmd | 0 .../solution-4.01-05-delete-student/pom.xml | 4 +- .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../StudentOrGradeErrorResponse.java | 0 .../StudentOrGradeNotFoundException.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 64 +++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../StudentOrGradeErrorResponse.java | 0 .../StudentOrGradeNotFoundException.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 64 +++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../StudentOrGradeErrorResponse.java | 0 .../StudentOrGradeNotFoundException.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 64 +++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../StudentOrGradeErrorResponse.java | 0 .../StudentOrGradeNotFoundException.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 64 +++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../StudentOrGradeErrorResponse.java | 0 .../StudentOrGradeNotFoundException.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 64 +++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../StudentOrGradeErrorResponse.java | 0 .../StudentOrGradeNotFoundException.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 64 +++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../StudentOrGradeErrorResponse.java | 0 .../StudentOrGradeNotFoundException.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 64 +++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../StudentOrGradeErrorResponse.java | 0 .../StudentOrGradeNotFoundException.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 64 +++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../StudentOrGradeErrorResponse.java | 0 .../StudentOrGradeNotFoundException.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 64 +++++++++++++ .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../StudentOrGradeErrorResponse.java | 0 .../StudentOrGradeNotFoundException.java | 0 .../springmvc/models/CollegeStudent.java | 78 ++++++++++++++++ .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/MathGrade.java | 48 ++++++++++ .../springmvc/models/ScienceGrade.java | 48 ++++++++++ .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 64 ------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 64 ------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 64 ------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 64 ------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 64 ------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 64 ------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 64 ------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 64 ------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- .../pom.xml | 64 ------------- .../springmvc/models/CollegeStudent.java | 78 ---------------- .../springmvc/models/HistoryGrade.java | 48 ---------- .../luv2code/springmvc/models/MathGrade.java | 48 ---------- .../springmvc/models/ScienceGrade.java | 48 ---------- 1808 files changed, 14310 insertions(+), 13522 deletions(-) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/pom.xml (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/src/main/java/com/luv2code/junitdemo/DemoUtils.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.02-project-solution-lifecycle-methods/pom.xml (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.02-project-solution-lifecycle-methods/src/main/java/com/luv2code/junitdemo/DemoUtils.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.02-project-solution-lifecycle-methods/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.03-project-solution-custom-display-name/pom.xml (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.03-project-solution-custom-display-name/src/main/java/com/luv2code/junitdemo/DemoUtils.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.03-project-solution-custom-display-name/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.04-project-solution-assert-same-not-same-AND-true-false/pom.xml (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.04-project-solution-assert-same-not-same-AND-true-false/src/main/java/com/luv2code/junitdemo/DemoUtils.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.04-project-solution-assert-same-not-same-AND-true-false/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.05-project-solution-assert-array-iterable-lines/pom.xml (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.05-project-solution-assert-array-iterable-lines/src/main/java/com/luv2code/junitdemo/DemoUtils.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.05-project-solution-assert-array-iterable-lines/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.06-project-solution-assert-throws-and-timeouts/pom.xml (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.06-project-solution-assert-throws-and-timeouts/src/main/java/com/luv2code/junitdemo/DemoUtils.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.06-project-solution-assert-throws-and-timeouts/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.07-project-solution-order-tests/pom.xml (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.07-project-solution-order-tests/src/main/java/com/luv2code/junitdemo/DemoUtils.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.07-project-solution-order-tests/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/pom.xml (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/src/main/java/com/luv2code/junitdemo/DemoUtils.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/src/main/java/com/luv2code/junitdemo/DemoUtils.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.10-project-solution-conditional-tests/pom.xml (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.10-project-solution-conditional-tests/src/main/java/com/luv2code/junitdemo/DemoUtils.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.10-project-solution-conditional-tests/src/test/java/com/luv2code/junitdemo/ConditionalTest.java (100%) rename 1.01-starting-project-solutions/{ => section-02-junit-review}/1.10-project-solution-conditional-tests/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/01-fizzbuzz-project-solution-basic/pom.xml (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/01-fizzbuzz-project-solution-basic/src/main/java/com/luv2code/junitdemo/DemoUtils.java (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/01-fizzbuzz-project-solution-basic/src/main/java/com/luv2code/tdd/FizzBuzz.java (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/01-fizzbuzz-project-solution-basic/src/test/java/com/luv2code/junitdemo/ConditionalTest.java (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/01-fizzbuzz-project-solution-basic/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/01-fizzbuzz-project-solution-basic/src/test/java/com/luv2code/tdd/FizzBuzzTest.java (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/01-fizzbuzz-project-solution-basic/src/test/resources/small-test-data.csv (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/02-fizzbuzz-project-solution-parameterized-tests/pom.xml (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/02-fizzbuzz-project-solution-parameterized-tests/src/main/java/com/luv2code/junitdemo/DemoUtils.java (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/02-fizzbuzz-project-solution-parameterized-tests/src/main/java/com/luv2code/tdd/FizzBuzz.java (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/02-fizzbuzz-project-solution-parameterized-tests/src/test/java/com/luv2code/junitdemo/ConditionalTest.java (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/02-fizzbuzz-project-solution-parameterized-tests/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/02-fizzbuzz-project-solution-parameterized-tests/src/test/java/com/luv2code/tdd/FizzBuzzTest.java (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/02-fizzbuzz-project-solution-parameterized-tests/src/test/resources/large-test-data.csv (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/02-fizzbuzz-project-solution-parameterized-tests/src/test/resources/medium-test-data.csv (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/02-fizzbuzz-project-solution-parameterized-tests/src/test/resources/small-test-data.csv (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/03-fizzbuzz-project-solution-main-app/pom.xml (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/03-fizzbuzz-project-solution-main-app/src/main/java/com/luv2code/junitdemo/DemoUtils.java (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/03-fizzbuzz-project-solution-main-app/src/main/java/com/luv2code/tdd/FizzBuzz.java (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/03-fizzbuzz-project-solution-main-app/src/main/java/com/luv2code/tdd/MainApp.java (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/03-fizzbuzz-project-solution-main-app/src/test/java/com/luv2code/junitdemo/ConditionalTest.java (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/03-fizzbuzz-project-solution-main-app/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/03-fizzbuzz-project-solution-main-app/src/test/java/com/luv2code/tdd/FizzBuzzTest.java (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/03-fizzbuzz-project-solution-main-app/src/test/resources/large-test-data.csv (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/03-fizzbuzz-project-solution-main-app/src/test/resources/medium-test-data.csv (100%) rename 1.12-fizzbuzz-project-solutions/{ => section-03-test-driven-development-tdd}/03-fizzbuzz-project-solution-main-app/src/test/resources/small-test-data.csv (100%) rename 2.01-starting-project-solutions/{ => section-04-spring-boot-unit-testing-support}/2.01-solution-junit-assertions/HELP.md (100%) rename 2.01-starting-project-solutions/{ => section-04-spring-boot-unit-testing-support}/2.01-solution-junit-assertions/mvnw (100%) rename 2.01-starting-project-solutions/{ => section-04-spring-boot-unit-testing-support}/2.01-solution-junit-assertions/mvnw.cmd (100%) rename 2.01-starting-project-solutions/{ => section-04-spring-boot-unit-testing-support}/2.01-solution-junit-assertions/pom.xml (100%) rename 2.01-starting-project-solutions/{ => section-04-spring-boot-unit-testing-support}/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/MvcTestingExampleApplication.java (100%) rename 2.01-starting-project-solutions/{ => section-04-spring-boot-unit-testing-support}/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/models/CollegeStudent.java (100%) rename 2.01-starting-project-solutions/{ => section-04-spring-boot-unit-testing-support}/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/models/Student.java (100%) rename 2.01-starting-project-solutions/{ => section-04-spring-boot-unit-testing-support}/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/models/StudentGrades.java (100%) rename 2.01-starting-project-solutions/{ => section-04-spring-boot-unit-testing-support}/2.01-solution-junit-assertions/src/main/resources/application.properties (100%) rename 2.01-starting-project-solutions/{ => section-04-spring-boot-unit-testing-support}/2.01-solution-junit-assertions/src/test/java/com/luv2code/test/ApplicationExampleTest.java (100%) rename 2.21-starting-project-solutions/{ => section-05-unit-testing-mocking-with-mockito}/HELP.md (100%) rename 2.21-starting-project-solutions/{ => section-05-unit-testing-mocking-with-mockito}/mvnw (100%) rename 2.21-starting-project-solutions/{ => section-05-unit-testing-mocking-with-mockito}/mvnw.cmd (100%) rename 2.21-starting-project-solutions/{ => section-05-unit-testing-mocking-with-mockito}/pom.xml (100%) rename 2.21-starting-project-solutions/{ => section-05-unit-testing-mocking-with-mockito}/src/main/java/com/luv2code/component/MvcTestingExampleApplication.java (100%) rename 2.21-starting-project-solutions/{ => section-05-unit-testing-mocking-with-mockito}/src/main/java/com/luv2code/component/dao/ApplicationDao.java (100%) rename 2.21-starting-project-solutions/{ => section-05-unit-testing-mocking-with-mockito}/src/main/java/com/luv2code/component/models/CollegeStudent.java (100%) rename 2.21-starting-project-solutions/{ => section-05-unit-testing-mocking-with-mockito}/src/main/java/com/luv2code/component/models/Student.java (100%) rename 2.21-starting-project-solutions/{ => section-05-unit-testing-mocking-with-mockito}/src/main/java/com/luv2code/component/models/StudentGrades.java (100%) rename 2.21-starting-project-solutions/{ => section-05-unit-testing-mocking-with-mockito}/src/main/java/com/luv2code/component/service/ApplicationService.java (100%) rename 2.21-starting-project-solutions/{ => section-05-unit-testing-mocking-with-mockito}/src/main/resources/application.properties (100%) rename 2.21-starting-project-solutions/{ => section-05-unit-testing-mocking-with-mockito}/src/test/java/com/luv2code/test/ApplicationExampleTest.java (100%) rename 2.21-starting-project-solutions/{ => section-05-unit-testing-mocking-with-mockito}/src/test/java/com/luv2code/test/MockAnnotationTest.java (100%) rename 2.21-starting-project-solutions/{ => section-05-unit-testing-mocking-with-mockito}/src/test/java/com/luv2code/test/ReflectionTestUtilsTest.java (100%) delete mode 100644 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-80-solution-final/pom.xml delete mode 100644 3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/pom.xml (71%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{3.01-02-solution-check-if-student-is-null-test => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (98%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{3.01-03-solution-delete-student-service-test => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (96%) rename 3.01-starting-project-solutions/{3.01-02-solution-check-if-student-is-null-test => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (96%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (96%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-01-solution-create-student-service-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{3.01-03-solution-delete-student-service-test => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test}/pom.xml (71%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{3.01-01-solution-create-student-service-test => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (98%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (96%) rename 3.01-starting-project-solutions/{3.01-03-solution-delete-student-service-test => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (96%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (96%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-02-solution-check-if-student-is-null-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (87%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{3.01-02-solution-check-if-student-is-null-test => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test}/pom.xml (71%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (98%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{3.01-01-solution-create-student-service-test => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (96%) rename 3.01-starting-project-solutions/{3.01-04-solution-get-gradebook-test => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (96%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (96%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-03-solution-delete-student-service-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (89%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/pom.xml (71%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (98%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (96%) rename 3.01-starting-project-solutions/{3.01-01-solution-create-student-service-test => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (96%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (96%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-04-solution-get-gradebook-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (91%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/pom.xml rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing}/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{3.01-11-solution-delete-student-http-added => section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (91%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/pom.xml rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{3.01-05-solution-sql-annotation-get-gradebook-test => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/pom.xml rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-07-solution-gradebookcontroller-add-mvc-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{3.01-06-solution-gradebookcontroller-test-iterable-equals => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/pom.xml rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-08-solution-create-student-http-post-request-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{3.01-07-solution-gradebookcontroller-add-mvc-test => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/pom.xml rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-09-solution-create-student-http-request-when-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{3.01-08-solution-create-student-http-post-request-test => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/pom.xml rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{3.01-09-solution-create-student-http-request-when-added => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/pom.xml rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{3.01-12-solution-delete-student-http-error-page => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (92%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/pom.xml rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing}/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{3.01-10-solution-update-index-html-to-handle-create-and-get-students => section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/pom.xml rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/pom.xml rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/pom.xml rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/pom.xml rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/pom.xml rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/pom.xml rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/pom.xml rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/pom.xml rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/pom.xml rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/pom.xml rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/pom.xml rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/pom.xml rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades}/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/pom.xml rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/pom.xml rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/pom.xml rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/pom.xml rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/pom.xml rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/pom.xml rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/pom.xml rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/pom.xml rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/pom.xml rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/pom.xml rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/pom.xml rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/pom.xml rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/resources/application-test.properties (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/pom.xml rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/HELP.md (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/mvnw (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/mvnw.cmd (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/pom.xml rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/application-test.properties (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/insertGrade.sql (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/overRideData.sql (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{ => section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/HELP.md (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/mvnw (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/mvnw.cmd (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml (95%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/HELP.md (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/mvnw (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/mvnw.cmd (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/pom.xml (95%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/HELP.md (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/mvnw (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/mvnw.cmd (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/pom.xml (95%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/HELP.md (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/mvnw (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/mvnw.cmd (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/pom.xml (95%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/HELP.md (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/mvnw (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/mvnw.cmd (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/pom.xml rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/HELP.md (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/mvnw (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/mvnw.cmd (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/pom.xml rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/HELP.md (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/mvnw (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/mvnw.cmd (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/pom.xml rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/HELP.md (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/mvnw (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/mvnw.cmd (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/pom.xml rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/HELP.md (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw.cmd (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/HELP.md (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/HELP.md (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/mvnw (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/mvnw.cmd (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/pom.xml rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/HELP.md (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw.cmd (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/HELP.md (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java create mode 100644 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{ => section-11-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) delete mode 100644 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/pom.xml delete mode 100644 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-07-student-information-created/pom.xml delete mode 100644 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/pom.xml delete mode 100644 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/pom.xml delete mode 100644 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml delete mode 100644 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml delete mode 100644 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/pom.xml delete mode 100644 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml delete mode 100644 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml delete mode 100644 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/1.01-starting-project-solutions/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/pom.xml b/1.01-starting-project-solutions/section-02-junit-review/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/pom.xml similarity index 100% rename from 1.01-starting-project-solutions/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/pom.xml rename to 1.01-starting-project-solutions/section-02-junit-review/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/pom.xml diff --git a/1.01-starting-project-solutions/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/src/main/java/com/luv2code/junitdemo/DemoUtils.java b/1.01-starting-project-solutions/section-02-junit-review/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/src/main/java/com/luv2code/junitdemo/DemoUtils.java similarity index 100% rename from 1.01-starting-project-solutions/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/src/main/java/com/luv2code/junitdemo/DemoUtils.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/src/main/java/com/luv2code/junitdemo/DemoUtils.java diff --git a/1.01-starting-project-solutions/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java b/1.01-starting-project-solutions/section-02-junit-review/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java similarity index 100% rename from 1.01-starting-project-solutions/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.01-project-solution-assert-equals-not-equals-AND-null-not-null/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java diff --git a/1.01-starting-project-solutions/1.02-project-solution-lifecycle-methods/pom.xml b/1.01-starting-project-solutions/section-02-junit-review/1.02-project-solution-lifecycle-methods/pom.xml similarity index 100% rename from 1.01-starting-project-solutions/1.02-project-solution-lifecycle-methods/pom.xml rename to 1.01-starting-project-solutions/section-02-junit-review/1.02-project-solution-lifecycle-methods/pom.xml diff --git a/1.01-starting-project-solutions/1.02-project-solution-lifecycle-methods/src/main/java/com/luv2code/junitdemo/DemoUtils.java b/1.01-starting-project-solutions/section-02-junit-review/1.02-project-solution-lifecycle-methods/src/main/java/com/luv2code/junitdemo/DemoUtils.java similarity index 100% rename from 1.01-starting-project-solutions/1.02-project-solution-lifecycle-methods/src/main/java/com/luv2code/junitdemo/DemoUtils.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.02-project-solution-lifecycle-methods/src/main/java/com/luv2code/junitdemo/DemoUtils.java diff --git a/1.01-starting-project-solutions/1.02-project-solution-lifecycle-methods/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java b/1.01-starting-project-solutions/section-02-junit-review/1.02-project-solution-lifecycle-methods/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java similarity index 100% rename from 1.01-starting-project-solutions/1.02-project-solution-lifecycle-methods/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.02-project-solution-lifecycle-methods/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java diff --git a/1.01-starting-project-solutions/1.03-project-solution-custom-display-name/pom.xml b/1.01-starting-project-solutions/section-02-junit-review/1.03-project-solution-custom-display-name/pom.xml similarity index 100% rename from 1.01-starting-project-solutions/1.03-project-solution-custom-display-name/pom.xml rename to 1.01-starting-project-solutions/section-02-junit-review/1.03-project-solution-custom-display-name/pom.xml diff --git a/1.01-starting-project-solutions/1.03-project-solution-custom-display-name/src/main/java/com/luv2code/junitdemo/DemoUtils.java b/1.01-starting-project-solutions/section-02-junit-review/1.03-project-solution-custom-display-name/src/main/java/com/luv2code/junitdemo/DemoUtils.java similarity index 100% rename from 1.01-starting-project-solutions/1.03-project-solution-custom-display-name/src/main/java/com/luv2code/junitdemo/DemoUtils.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.03-project-solution-custom-display-name/src/main/java/com/luv2code/junitdemo/DemoUtils.java diff --git a/1.01-starting-project-solutions/1.03-project-solution-custom-display-name/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java b/1.01-starting-project-solutions/section-02-junit-review/1.03-project-solution-custom-display-name/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java similarity index 100% rename from 1.01-starting-project-solutions/1.03-project-solution-custom-display-name/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.03-project-solution-custom-display-name/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java diff --git a/1.01-starting-project-solutions/1.04-project-solution-assert-same-not-same-AND-true-false/pom.xml b/1.01-starting-project-solutions/section-02-junit-review/1.04-project-solution-assert-same-not-same-AND-true-false/pom.xml similarity index 100% rename from 1.01-starting-project-solutions/1.04-project-solution-assert-same-not-same-AND-true-false/pom.xml rename to 1.01-starting-project-solutions/section-02-junit-review/1.04-project-solution-assert-same-not-same-AND-true-false/pom.xml diff --git a/1.01-starting-project-solutions/1.04-project-solution-assert-same-not-same-AND-true-false/src/main/java/com/luv2code/junitdemo/DemoUtils.java b/1.01-starting-project-solutions/section-02-junit-review/1.04-project-solution-assert-same-not-same-AND-true-false/src/main/java/com/luv2code/junitdemo/DemoUtils.java similarity index 100% rename from 1.01-starting-project-solutions/1.04-project-solution-assert-same-not-same-AND-true-false/src/main/java/com/luv2code/junitdemo/DemoUtils.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.04-project-solution-assert-same-not-same-AND-true-false/src/main/java/com/luv2code/junitdemo/DemoUtils.java diff --git a/1.01-starting-project-solutions/1.04-project-solution-assert-same-not-same-AND-true-false/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java b/1.01-starting-project-solutions/section-02-junit-review/1.04-project-solution-assert-same-not-same-AND-true-false/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java similarity index 100% rename from 1.01-starting-project-solutions/1.04-project-solution-assert-same-not-same-AND-true-false/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.04-project-solution-assert-same-not-same-AND-true-false/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java diff --git a/1.01-starting-project-solutions/1.05-project-solution-assert-array-iterable-lines/pom.xml b/1.01-starting-project-solutions/section-02-junit-review/1.05-project-solution-assert-array-iterable-lines/pom.xml similarity index 100% rename from 1.01-starting-project-solutions/1.05-project-solution-assert-array-iterable-lines/pom.xml rename to 1.01-starting-project-solutions/section-02-junit-review/1.05-project-solution-assert-array-iterable-lines/pom.xml diff --git a/1.01-starting-project-solutions/1.05-project-solution-assert-array-iterable-lines/src/main/java/com/luv2code/junitdemo/DemoUtils.java b/1.01-starting-project-solutions/section-02-junit-review/1.05-project-solution-assert-array-iterable-lines/src/main/java/com/luv2code/junitdemo/DemoUtils.java similarity index 100% rename from 1.01-starting-project-solutions/1.05-project-solution-assert-array-iterable-lines/src/main/java/com/luv2code/junitdemo/DemoUtils.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.05-project-solution-assert-array-iterable-lines/src/main/java/com/luv2code/junitdemo/DemoUtils.java diff --git a/1.01-starting-project-solutions/1.05-project-solution-assert-array-iterable-lines/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java b/1.01-starting-project-solutions/section-02-junit-review/1.05-project-solution-assert-array-iterable-lines/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java similarity index 100% rename from 1.01-starting-project-solutions/1.05-project-solution-assert-array-iterable-lines/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.05-project-solution-assert-array-iterable-lines/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java diff --git a/1.01-starting-project-solutions/1.06-project-solution-assert-throws-and-timeouts/pom.xml b/1.01-starting-project-solutions/section-02-junit-review/1.06-project-solution-assert-throws-and-timeouts/pom.xml similarity index 100% rename from 1.01-starting-project-solutions/1.06-project-solution-assert-throws-and-timeouts/pom.xml rename to 1.01-starting-project-solutions/section-02-junit-review/1.06-project-solution-assert-throws-and-timeouts/pom.xml diff --git a/1.01-starting-project-solutions/1.06-project-solution-assert-throws-and-timeouts/src/main/java/com/luv2code/junitdemo/DemoUtils.java b/1.01-starting-project-solutions/section-02-junit-review/1.06-project-solution-assert-throws-and-timeouts/src/main/java/com/luv2code/junitdemo/DemoUtils.java similarity index 100% rename from 1.01-starting-project-solutions/1.06-project-solution-assert-throws-and-timeouts/src/main/java/com/luv2code/junitdemo/DemoUtils.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.06-project-solution-assert-throws-and-timeouts/src/main/java/com/luv2code/junitdemo/DemoUtils.java diff --git a/1.01-starting-project-solutions/1.06-project-solution-assert-throws-and-timeouts/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java b/1.01-starting-project-solutions/section-02-junit-review/1.06-project-solution-assert-throws-and-timeouts/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java similarity index 100% rename from 1.01-starting-project-solutions/1.06-project-solution-assert-throws-and-timeouts/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.06-project-solution-assert-throws-and-timeouts/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java diff --git a/1.01-starting-project-solutions/1.07-project-solution-order-tests/pom.xml b/1.01-starting-project-solutions/section-02-junit-review/1.07-project-solution-order-tests/pom.xml similarity index 100% rename from 1.01-starting-project-solutions/1.07-project-solution-order-tests/pom.xml rename to 1.01-starting-project-solutions/section-02-junit-review/1.07-project-solution-order-tests/pom.xml diff --git a/1.01-starting-project-solutions/1.07-project-solution-order-tests/src/main/java/com/luv2code/junitdemo/DemoUtils.java b/1.01-starting-project-solutions/section-02-junit-review/1.07-project-solution-order-tests/src/main/java/com/luv2code/junitdemo/DemoUtils.java similarity index 100% rename from 1.01-starting-project-solutions/1.07-project-solution-order-tests/src/main/java/com/luv2code/junitdemo/DemoUtils.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.07-project-solution-order-tests/src/main/java/com/luv2code/junitdemo/DemoUtils.java diff --git a/1.01-starting-project-solutions/1.07-project-solution-order-tests/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java b/1.01-starting-project-solutions/section-02-junit-review/1.07-project-solution-order-tests/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java similarity index 100% rename from 1.01-starting-project-solutions/1.07-project-solution-order-tests/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.07-project-solution-order-tests/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java diff --git a/1.01-starting-project-solutions/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/pom.xml b/1.01-starting-project-solutions/section-02-junit-review/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/pom.xml similarity index 100% rename from 1.01-starting-project-solutions/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/pom.xml rename to 1.01-starting-project-solutions/section-02-junit-review/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/pom.xml diff --git a/1.01-starting-project-solutions/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/src/main/java/com/luv2code/junitdemo/DemoUtils.java b/1.01-starting-project-solutions/section-02-junit-review/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/src/main/java/com/luv2code/junitdemo/DemoUtils.java similarity index 100% rename from 1.01-starting-project-solutions/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/src/main/java/com/luv2code/junitdemo/DemoUtils.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/src/main/java/com/luv2code/junitdemo/DemoUtils.java diff --git a/1.01-starting-project-solutions/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java b/1.01-starting-project-solutions/section-02-junit-review/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java similarity index 100% rename from 1.01-starting-project-solutions/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.08-project-solution-unit-test-reports-and-code-coverage-reports-with-intellij/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java diff --git a/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml b/1.01-starting-project-solutions/section-02-junit-review/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml similarity index 100% rename from 1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml rename to 1.01-starting-project-solutions/section-02-junit-review/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/pom.xml diff --git a/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/src/main/java/com/luv2code/junitdemo/DemoUtils.java b/1.01-starting-project-solutions/section-02-junit-review/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/src/main/java/com/luv2code/junitdemo/DemoUtils.java similarity index 100% rename from 1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/src/main/java/com/luv2code/junitdemo/DemoUtils.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/src/main/java/com/luv2code/junitdemo/DemoUtils.java diff --git a/1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java b/1.01-starting-project-solutions/section-02-junit-review/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java similarity index 100% rename from 1.01-starting-project-solutions/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.09-project-solution-unit-test-reports-and-code-coverage-reports-with-maven/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java diff --git a/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml b/1.01-starting-project-solutions/section-02-junit-review/1.10-project-solution-conditional-tests/pom.xml similarity index 100% rename from 1.01-starting-project-solutions/1.10-project-solution-conditional-tests/pom.xml rename to 1.01-starting-project-solutions/section-02-junit-review/1.10-project-solution-conditional-tests/pom.xml diff --git a/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/src/main/java/com/luv2code/junitdemo/DemoUtils.java b/1.01-starting-project-solutions/section-02-junit-review/1.10-project-solution-conditional-tests/src/main/java/com/luv2code/junitdemo/DemoUtils.java similarity index 100% rename from 1.01-starting-project-solutions/1.10-project-solution-conditional-tests/src/main/java/com/luv2code/junitdemo/DemoUtils.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.10-project-solution-conditional-tests/src/main/java/com/luv2code/junitdemo/DemoUtils.java diff --git a/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/src/test/java/com/luv2code/junitdemo/ConditionalTest.java b/1.01-starting-project-solutions/section-02-junit-review/1.10-project-solution-conditional-tests/src/test/java/com/luv2code/junitdemo/ConditionalTest.java similarity index 100% rename from 1.01-starting-project-solutions/1.10-project-solution-conditional-tests/src/test/java/com/luv2code/junitdemo/ConditionalTest.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.10-project-solution-conditional-tests/src/test/java/com/luv2code/junitdemo/ConditionalTest.java diff --git a/1.01-starting-project-solutions/1.10-project-solution-conditional-tests/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java b/1.01-starting-project-solutions/section-02-junit-review/1.10-project-solution-conditional-tests/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java similarity index 100% rename from 1.01-starting-project-solutions/1.10-project-solution-conditional-tests/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java rename to 1.01-starting-project-solutions/section-02-junit-review/1.10-project-solution-conditional-tests/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java diff --git a/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/01-fizzbuzz-project-solution-basic/pom.xml similarity index 100% rename from 1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/pom.xml rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/01-fizzbuzz-project-solution-basic/pom.xml diff --git a/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/src/main/java/com/luv2code/junitdemo/DemoUtils.java b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/01-fizzbuzz-project-solution-basic/src/main/java/com/luv2code/junitdemo/DemoUtils.java similarity index 100% rename from 1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/src/main/java/com/luv2code/junitdemo/DemoUtils.java rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/01-fizzbuzz-project-solution-basic/src/main/java/com/luv2code/junitdemo/DemoUtils.java diff --git a/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/src/main/java/com/luv2code/tdd/FizzBuzz.java b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/01-fizzbuzz-project-solution-basic/src/main/java/com/luv2code/tdd/FizzBuzz.java similarity index 100% rename from 1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/src/main/java/com/luv2code/tdd/FizzBuzz.java rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/01-fizzbuzz-project-solution-basic/src/main/java/com/luv2code/tdd/FizzBuzz.java diff --git a/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/src/test/java/com/luv2code/junitdemo/ConditionalTest.java b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/01-fizzbuzz-project-solution-basic/src/test/java/com/luv2code/junitdemo/ConditionalTest.java similarity index 100% rename from 1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/src/test/java/com/luv2code/junitdemo/ConditionalTest.java rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/01-fizzbuzz-project-solution-basic/src/test/java/com/luv2code/junitdemo/ConditionalTest.java diff --git a/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/01-fizzbuzz-project-solution-basic/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java similarity index 100% rename from 1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/01-fizzbuzz-project-solution-basic/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java diff --git a/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/src/test/java/com/luv2code/tdd/FizzBuzzTest.java b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/01-fizzbuzz-project-solution-basic/src/test/java/com/luv2code/tdd/FizzBuzzTest.java similarity index 100% rename from 1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/src/test/java/com/luv2code/tdd/FizzBuzzTest.java rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/01-fizzbuzz-project-solution-basic/src/test/java/com/luv2code/tdd/FizzBuzzTest.java diff --git a/1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/src/test/resources/small-test-data.csv b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/01-fizzbuzz-project-solution-basic/src/test/resources/small-test-data.csv similarity index 100% rename from 1.12-fizzbuzz-project-solutions/01-fizzbuzz-project-solution-basic/src/test/resources/small-test-data.csv rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/01-fizzbuzz-project-solution-basic/src/test/resources/small-test-data.csv diff --git a/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/pom.xml similarity index 100% rename from 1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/pom.xml rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/pom.xml diff --git a/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/src/main/java/com/luv2code/junitdemo/DemoUtils.java b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/src/main/java/com/luv2code/junitdemo/DemoUtils.java similarity index 100% rename from 1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/src/main/java/com/luv2code/junitdemo/DemoUtils.java rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/src/main/java/com/luv2code/junitdemo/DemoUtils.java diff --git a/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/src/main/java/com/luv2code/tdd/FizzBuzz.java b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/src/main/java/com/luv2code/tdd/FizzBuzz.java similarity index 100% rename from 1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/src/main/java/com/luv2code/tdd/FizzBuzz.java rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/src/main/java/com/luv2code/tdd/FizzBuzz.java diff --git a/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/src/test/java/com/luv2code/junitdemo/ConditionalTest.java b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/src/test/java/com/luv2code/junitdemo/ConditionalTest.java similarity index 100% rename from 1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/src/test/java/com/luv2code/junitdemo/ConditionalTest.java rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/src/test/java/com/luv2code/junitdemo/ConditionalTest.java diff --git a/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java similarity index 100% rename from 1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java diff --git a/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/src/test/java/com/luv2code/tdd/FizzBuzzTest.java b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/src/test/java/com/luv2code/tdd/FizzBuzzTest.java similarity index 100% rename from 1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/src/test/java/com/luv2code/tdd/FizzBuzzTest.java rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/src/test/java/com/luv2code/tdd/FizzBuzzTest.java diff --git a/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/src/test/resources/large-test-data.csv b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/src/test/resources/large-test-data.csv similarity index 100% rename from 1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/src/test/resources/large-test-data.csv rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/src/test/resources/large-test-data.csv diff --git a/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/src/test/resources/medium-test-data.csv b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/src/test/resources/medium-test-data.csv similarity index 100% rename from 1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/src/test/resources/medium-test-data.csv rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/src/test/resources/medium-test-data.csv diff --git a/1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/src/test/resources/small-test-data.csv b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/src/test/resources/small-test-data.csv similarity index 100% rename from 1.12-fizzbuzz-project-solutions/02-fizzbuzz-project-solution-parameterized-tests/src/test/resources/small-test-data.csv rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/02-fizzbuzz-project-solution-parameterized-tests/src/test/resources/small-test-data.csv diff --git a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/pom.xml similarity index 100% rename from 1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/pom.xml rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/pom.xml diff --git a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/main/java/com/luv2code/junitdemo/DemoUtils.java b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/main/java/com/luv2code/junitdemo/DemoUtils.java similarity index 100% rename from 1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/main/java/com/luv2code/junitdemo/DemoUtils.java rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/main/java/com/luv2code/junitdemo/DemoUtils.java diff --git a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/main/java/com/luv2code/tdd/FizzBuzz.java b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/main/java/com/luv2code/tdd/FizzBuzz.java similarity index 100% rename from 1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/main/java/com/luv2code/tdd/FizzBuzz.java rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/main/java/com/luv2code/tdd/FizzBuzz.java diff --git a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/main/java/com/luv2code/tdd/MainApp.java b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/main/java/com/luv2code/tdd/MainApp.java similarity index 100% rename from 1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/main/java/com/luv2code/tdd/MainApp.java rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/main/java/com/luv2code/tdd/MainApp.java diff --git a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/test/java/com/luv2code/junitdemo/ConditionalTest.java b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/test/java/com/luv2code/junitdemo/ConditionalTest.java similarity index 100% rename from 1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/test/java/com/luv2code/junitdemo/ConditionalTest.java rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/test/java/com/luv2code/junitdemo/ConditionalTest.java diff --git a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java similarity index 100% rename from 1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/test/java/com/luv2code/junitdemo/DemoUtilsTest.java diff --git a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/test/java/com/luv2code/tdd/FizzBuzzTest.java b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/test/java/com/luv2code/tdd/FizzBuzzTest.java similarity index 100% rename from 1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/test/java/com/luv2code/tdd/FizzBuzzTest.java rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/test/java/com/luv2code/tdd/FizzBuzzTest.java diff --git a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/test/resources/large-test-data.csv b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/test/resources/large-test-data.csv similarity index 100% rename from 1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/test/resources/large-test-data.csv rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/test/resources/large-test-data.csv diff --git a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/test/resources/medium-test-data.csv b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/test/resources/medium-test-data.csv similarity index 100% rename from 1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/test/resources/medium-test-data.csv rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/test/resources/medium-test-data.csv diff --git a/1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/test/resources/small-test-data.csv b/1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/test/resources/small-test-data.csv similarity index 100% rename from 1.12-fizzbuzz-project-solutions/03-fizzbuzz-project-solution-main-app/src/test/resources/small-test-data.csv rename to 1.12-fizzbuzz-project-solutions/section-03-test-driven-development-tdd/03-fizzbuzz-project-solution-main-app/src/test/resources/small-test-data.csv diff --git a/2.01-starting-project-solutions/2.01-solution-junit-assertions/HELP.md b/2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/HELP.md similarity index 100% rename from 2.01-starting-project-solutions/2.01-solution-junit-assertions/HELP.md rename to 2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/HELP.md diff --git a/2.01-starting-project-solutions/2.01-solution-junit-assertions/mvnw b/2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/mvnw similarity index 100% rename from 2.01-starting-project-solutions/2.01-solution-junit-assertions/mvnw rename to 2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/mvnw diff --git a/2.01-starting-project-solutions/2.01-solution-junit-assertions/mvnw.cmd b/2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/mvnw.cmd similarity index 100% rename from 2.01-starting-project-solutions/2.01-solution-junit-assertions/mvnw.cmd rename to 2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/mvnw.cmd diff --git a/2.01-starting-project-solutions/2.01-solution-junit-assertions/pom.xml b/2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/pom.xml similarity index 100% rename from 2.01-starting-project-solutions/2.01-solution-junit-assertions/pom.xml rename to 2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/pom.xml diff --git a/2.01-starting-project-solutions/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/MvcTestingExampleApplication.java b/2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/MvcTestingExampleApplication.java similarity index 100% rename from 2.01-starting-project-solutions/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/MvcTestingExampleApplication.java rename to 2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/MvcTestingExampleApplication.java diff --git a/2.01-starting-project-solutions/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/models/CollegeStudent.java b/2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/models/CollegeStudent.java similarity index 100% rename from 2.01-starting-project-solutions/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/models/CollegeStudent.java rename to 2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/models/CollegeStudent.java diff --git a/2.01-starting-project-solutions/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/models/Student.java b/2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/models/Student.java similarity index 100% rename from 2.01-starting-project-solutions/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/models/Student.java rename to 2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/models/Student.java diff --git a/2.01-starting-project-solutions/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/models/StudentGrades.java b/2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/models/StudentGrades.java similarity index 100% rename from 2.01-starting-project-solutions/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/models/StudentGrades.java rename to 2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/src/main/java/com/luv2code/component/models/StudentGrades.java diff --git a/2.01-starting-project-solutions/2.01-solution-junit-assertions/src/main/resources/application.properties b/2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/src/main/resources/application.properties similarity index 100% rename from 2.01-starting-project-solutions/2.01-solution-junit-assertions/src/main/resources/application.properties rename to 2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/src/main/resources/application.properties diff --git a/2.01-starting-project-solutions/2.01-solution-junit-assertions/src/test/java/com/luv2code/test/ApplicationExampleTest.java b/2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/src/test/java/com/luv2code/test/ApplicationExampleTest.java similarity index 100% rename from 2.01-starting-project-solutions/2.01-solution-junit-assertions/src/test/java/com/luv2code/test/ApplicationExampleTest.java rename to 2.01-starting-project-solutions/section-04-spring-boot-unit-testing-support/2.01-solution-junit-assertions/src/test/java/com/luv2code/test/ApplicationExampleTest.java diff --git a/2.21-starting-project-solutions/HELP.md b/2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/HELP.md similarity index 100% rename from 2.21-starting-project-solutions/HELP.md rename to 2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/HELP.md diff --git a/2.21-starting-project-solutions/mvnw b/2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/mvnw similarity index 100% rename from 2.21-starting-project-solutions/mvnw rename to 2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/mvnw diff --git a/2.21-starting-project-solutions/mvnw.cmd b/2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/mvnw.cmd similarity index 100% rename from 2.21-starting-project-solutions/mvnw.cmd rename to 2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/mvnw.cmd diff --git a/2.21-starting-project-solutions/pom.xml b/2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/pom.xml similarity index 100% rename from 2.21-starting-project-solutions/pom.xml rename to 2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/pom.xml diff --git a/2.21-starting-project-solutions/src/main/java/com/luv2code/component/MvcTestingExampleApplication.java b/2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/main/java/com/luv2code/component/MvcTestingExampleApplication.java similarity index 100% rename from 2.21-starting-project-solutions/src/main/java/com/luv2code/component/MvcTestingExampleApplication.java rename to 2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/main/java/com/luv2code/component/MvcTestingExampleApplication.java diff --git a/2.21-starting-project-solutions/src/main/java/com/luv2code/component/dao/ApplicationDao.java b/2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/main/java/com/luv2code/component/dao/ApplicationDao.java similarity index 100% rename from 2.21-starting-project-solutions/src/main/java/com/luv2code/component/dao/ApplicationDao.java rename to 2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/main/java/com/luv2code/component/dao/ApplicationDao.java diff --git a/2.21-starting-project-solutions/src/main/java/com/luv2code/component/models/CollegeStudent.java b/2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/main/java/com/luv2code/component/models/CollegeStudent.java similarity index 100% rename from 2.21-starting-project-solutions/src/main/java/com/luv2code/component/models/CollegeStudent.java rename to 2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/main/java/com/luv2code/component/models/CollegeStudent.java diff --git a/2.21-starting-project-solutions/src/main/java/com/luv2code/component/models/Student.java b/2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/main/java/com/luv2code/component/models/Student.java similarity index 100% rename from 2.21-starting-project-solutions/src/main/java/com/luv2code/component/models/Student.java rename to 2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/main/java/com/luv2code/component/models/Student.java diff --git a/2.21-starting-project-solutions/src/main/java/com/luv2code/component/models/StudentGrades.java b/2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/main/java/com/luv2code/component/models/StudentGrades.java similarity index 100% rename from 2.21-starting-project-solutions/src/main/java/com/luv2code/component/models/StudentGrades.java rename to 2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/main/java/com/luv2code/component/models/StudentGrades.java diff --git a/2.21-starting-project-solutions/src/main/java/com/luv2code/component/service/ApplicationService.java b/2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/main/java/com/luv2code/component/service/ApplicationService.java similarity index 100% rename from 2.21-starting-project-solutions/src/main/java/com/luv2code/component/service/ApplicationService.java rename to 2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/main/java/com/luv2code/component/service/ApplicationService.java diff --git a/2.21-starting-project-solutions/src/main/resources/application.properties b/2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/main/resources/application.properties similarity index 100% rename from 2.21-starting-project-solutions/src/main/resources/application.properties rename to 2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/main/resources/application.properties diff --git a/2.21-starting-project-solutions/src/test/java/com/luv2code/test/ApplicationExampleTest.java b/2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/test/java/com/luv2code/test/ApplicationExampleTest.java similarity index 100% rename from 2.21-starting-project-solutions/src/test/java/com/luv2code/test/ApplicationExampleTest.java rename to 2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/test/java/com/luv2code/test/ApplicationExampleTest.java diff --git a/2.21-starting-project-solutions/src/test/java/com/luv2code/test/MockAnnotationTest.java b/2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/test/java/com/luv2code/test/MockAnnotationTest.java similarity index 100% rename from 2.21-starting-project-solutions/src/test/java/com/luv2code/test/MockAnnotationTest.java rename to 2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/test/java/com/luv2code/test/MockAnnotationTest.java diff --git a/2.21-starting-project-solutions/src/test/java/com/luv2code/test/ReflectionTestUtilsTest.java b/2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/test/java/com/luv2code/test/ReflectionTestUtilsTest.java similarity index 100% rename from 2.21-starting-project-solutions/src/test/java/com/luv2code/test/ReflectionTestUtilsTest.java rename to 2.21-starting-project-solutions/section-05-unit-testing-mocking-with-mockito/src/test/java/com/luv2code/test/ReflectionTestUtilsTest.java diff --git a/3.00-starting-project/pom.xml b/3.00-starting-project/pom.xml index 9046cac..4921185 100644 --- a/3.00-starting-project/pom.xml +++ b/3.00-starting-project/pom.xml @@ -6,7 +6,7 @@ org.springframework.boot spring-boot-starter-parent - 2.6.2 + 3.4.0 @@ -16,7 +16,8 @@ war - 17 + 23 + @@ -41,8 +42,8 @@ - mysql - mysql-connector-java + com.mysql + mysql-connector-j runtime @@ -66,6 +67,25 @@ org.springframework.boot spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + diff --git a/3.00-starting-project/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.00-starting-project/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java index fe4eb8d..ff62e5f 100644 --- a/3.00-starting-project/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ b/3.00-starting-project/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "student") diff --git a/3.00-starting-project/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.00-starting-project/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java index 624c7d3..07c5cb4 100644 --- a/3.00-starting-project/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ b/3.00-starting-project/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "history_grade") diff --git a/3.00-starting-project/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.00-starting-project/src/main/java/com/luv2code/springmvc/models/MathGrade.java index 229841d..254a13f 100644 --- a/3.00-starting-project/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ b/3.00-starting-project/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "math_grade") diff --git a/3.00-starting-project/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.00-starting-project/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java index 32fb96d..d2d7b98 100644 --- a/3.00-starting-project/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ b/3.00-starting-project/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "science_grade") diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/pom.xml b/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/pom.xml b/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/pom.xml b/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/pom.xml b/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/pom.xml b/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/pom.xml b/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/pom.xml b/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/pom.xml b/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/pom.xml b/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/pom.xml b/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/pom.xml b/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/pom.xml b/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/pom.xml b/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/pom.xml b/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/pom.xml b/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/pom.xml b/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/pom.xml b/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/pom.xml b/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/pom.xml b/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/pom.xml b/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/pom.xml b/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/pom.xml b/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/pom.xml b/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/pom.xml b/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/pom.xml b/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/pom.xml b/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/pom.xml b/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/pom.xml b/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/pom.xml b/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/pom.xml b/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/pom.xml b/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/pom.xml b/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/pom.xml b/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/pom.xml b/3.01-starting-project-solutions/3.01-80-solution-final/pom.xml deleted file mode 100644 index 9046cac..0000000 --- a/3.01-starting-project-solutions/3.01-80-solution-final/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.6.2 - - - - com.luv2code - spring-boot-mvc-testing-demo - 1.0.0 - war - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/HELP.md b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/HELP.md rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/HELP.md diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/mvnw b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/mvnw rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/mvnw diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/mvnw.cmd b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/mvnw.cmd rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/mvnw.cmd diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/pom.xml b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/pom.xml similarity index 71% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/pom.xml rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/pom.xml index 9046cac..4921185 100644 --- a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/pom.xml +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/pom.xml @@ -6,7 +6,7 @@ org.springframework.boot spring-boot-starter-parent - 2.6.2 + 3.4.0 @@ -16,7 +16,8 @@ war - 17 + 23 + @@ -41,8 +42,8 @@ - mysql - mysql-connector-java + com.mysql + mysql-connector-j runtime @@ -66,6 +67,25 @@ org.springframework.boot spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 98% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java index fe4eb8d..ff62e5f 100644 --- a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "student") diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 96% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java index 624c7d3..07c5cb4 100644 --- a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "history_grade") diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 96% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java index 229841d..254a13f 100644 --- a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "math_grade") diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 96% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java index 32fb96d..d2d7b98 100644 --- a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "science_grade") diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/resources/application.properties b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-01-solution-create-student-service-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/HELP.md b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/HELP.md rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/HELP.md diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/mvnw b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/mvnw rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/mvnw diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/mvnw.cmd b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/mvnw.cmd rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/mvnw.cmd diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/pom.xml b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/pom.xml similarity index 71% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/pom.xml rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/pom.xml index 9046cac..4921185 100644 --- a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/pom.xml +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/pom.xml @@ -6,7 +6,7 @@ org.springframework.boot spring-boot-starter-parent - 2.6.2 + 3.4.0 @@ -16,7 +16,8 @@ war - 17 + 23 + @@ -41,8 +42,8 @@ - mysql - mysql-connector-java + com.mysql + mysql-connector-j runtime @@ -66,6 +67,25 @@ org.springframework.boot spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 98% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java index fe4eb8d..ff62e5f 100644 --- a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "student") diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 96% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java index 624c7d3..07c5cb4 100644 --- a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "history_grade") diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 96% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java index 229841d..254a13f 100644 --- a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "math_grade") diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 96% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java index 32fb96d..d2d7b98 100644 --- a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "science_grade") diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/resources/application.properties b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 87% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index a82cc02..988e7e9 100644 --- a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-02-solution-check-if-student-is-null-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -28,9 +28,10 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } + @Test public void createStudentService() { @@ -55,5 +56,7 @@ public void isStudentNullCheck() { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } + } diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/HELP.md b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/HELP.md rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/HELP.md diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/mvnw b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/mvnw rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/mvnw diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/mvnw.cmd b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/mvnw.cmd rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/mvnw.cmd diff --git a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/pom.xml b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/pom.xml similarity index 71% rename from 3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/pom.xml rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/pom.xml index 9046cac..4921185 100644 --- a/3.01-starting-project-solutions/3.01-02-solution-check-if-student-is-null-test/pom.xml +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/pom.xml @@ -6,7 +6,7 @@ org.springframework.boot spring-boot-starter-parent - 2.6.2 + 3.4.0 @@ -16,7 +16,8 @@ war - 17 + 23 + @@ -41,8 +42,8 @@ - mysql - mysql-connector-java + com.mysql + mysql-connector-j runtime @@ -66,6 +67,25 @@ org.springframework.boot spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 98% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java index fe4eb8d..ff62e5f 100644 --- a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "student") diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 96% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java index 624c7d3..07c5cb4 100644 --- a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "history_grade") diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 96% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java index 229841d..254a13f 100644 --- a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "math_grade") diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 96% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java index 32fb96d..d2d7b98 100644 --- a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "science_grade") diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/resources/application.properties b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 89% rename from 3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index cfbc214..a7d4a92 100644 --- a/3.01-starting-project-solutions/3.01-03-solution-delete-student-service-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-03-solution-delete-student-service-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -30,9 +30,10 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } + @Test public void createStudentService() { @@ -71,5 +72,6 @@ public void deleteStudentService() { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/HELP.md b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/HELP.md rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/HELP.md diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/mvnw b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/mvnw rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/mvnw diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/mvnw.cmd b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/mvnw.cmd rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/mvnw.cmd diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/pom.xml b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/pom.xml similarity index 71% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/pom.xml rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/pom.xml index 9046cac..4921185 100644 --- a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/pom.xml +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/pom.xml @@ -6,7 +6,7 @@ org.springframework.boot spring-boot-starter-parent - 2.6.2 + 3.4.0 @@ -16,7 +16,8 @@ war - 17 + 23 + @@ -41,8 +42,8 @@ - mysql - mysql-connector-java + com.mysql + mysql-connector-j runtime @@ -66,6 +67,25 @@ org.springframework.boot spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 98% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java index fe4eb8d..ff62e5f 100644 --- a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "student") diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 96% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java index 624c7d3..07c5cb4 100644 --- a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "history_grade") diff --git a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 96% rename from 3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java index 229841d..254a13f 100644 --- a/3.01-starting-project-solutions/3.01-01-solution-create-student-service-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "math_grade") diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 96% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java index 32fb96d..d2d7b98 100644 --- a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "science_grade") diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/resources/application.properties b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 91% rename from 3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index a9595bc..52a32d5 100644 --- a/3.01-starting-project-solutions/3.01-04-solution-get-gradebook-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-04-solution-get-gradebook-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -32,8 +32,8 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test public void createStudentService() { @@ -87,5 +87,6 @@ public void getGradebookService() { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/HELP.md b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/HELP.md rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/HELP.md diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/mvnw b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/mvnw rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/mvnw diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/mvnw.cmd b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/mvnw.cmd rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/pom.xml b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/application.properties b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 91% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 6058f45..56c8a50 100644 --- a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -33,8 +33,8 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test public void createStudentService() { @@ -89,5 +89,6 @@ public void getGradebookService() { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/HELP.md b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/HELP.md rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/HELP.md diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/mvnw b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/mvnw rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/mvnw diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/mvnw.cmd b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/mvnw.cmd rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/pom.xml b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/application.properties b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-05-solution-sql-annotation-get-gradebook-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/HELP.md b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/HELP.md rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/HELP.md diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/mvnw b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/mvnw rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/mvnw diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/mvnw.cmd b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/mvnw.cmd rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/pom.xml b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/application.properties b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/HELP.md b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/HELP.md rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/HELP.md diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/mvnw b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/mvnw rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/mvnw diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/mvnw.cmd b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/mvnw.cmd rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/pom.xml b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/resources/application.properties b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-07-solution-gradebookcontroller-add-mvc-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/HELP.md b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/HELP.md rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/HELP.md diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/mvnw b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/mvnw rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/mvnw diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/mvnw.cmd b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/mvnw.cmd rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/pom.xml b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/resources/application.properties b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-08-solution-create-student-http-post-request-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/HELP.md b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/HELP.md rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/HELP.md diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/mvnw b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/mvnw rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/mvnw diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/mvnw.cmd b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/mvnw.cmd rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/pom.xml b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/application.properties b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-09-solution-create-student-http-request-when-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/HELP.md b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/HELP.md rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/HELP.md diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/mvnw b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/mvnw rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/mvnw diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/mvnw.cmd b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/mvnw.cmd rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/pom.xml b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/resources/application.properties b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 92% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 6058f45..092a9ca 100644 --- a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -33,8 +33,8 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + CollegeStudent student = new CollegeStudent("Eric", "Roby", "eric.roby@luv2code_school.com"); + studentDao.save(student); } @Test public void createStudentService() { @@ -89,5 +89,6 @@ public void getGradebookService() { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/HELP.md b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/HELP.md rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/HELP.md diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/mvnw b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/mvnw rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/mvnw diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/mvnw.cmd b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/mvnw.cmd rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/pom.xml b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/resources/application.properties b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/HELP.md b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/HELP.md rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/HELP.md diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/mvnw b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/mvnw rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/mvnw diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/mvnw.cmd b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/mvnw.cmd rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/pom.xml b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/application.properties b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/HELP.md b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/HELP.md rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/HELP.md diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/mvnw b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/mvnw rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/mvnw diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/mvnw.cmd b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/mvnw.cmd rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/pom.xml b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/application.properties b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/HELP.md b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/HELP.md rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/HELP.md diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/mvnw b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/mvnw rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/mvnw diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/mvnw.cmd b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/mvnw.cmd rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/pom.xml b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/application.properties b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/HELP.md b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/HELP.md rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/HELP.md diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/mvnw b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/mvnw rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/mvnw diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/mvnw.cmd b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/mvnw.cmd rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/pom.xml b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/resources/application.properties b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/HELP.md b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/HELP.md rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/HELP.md diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/mvnw b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/mvnw rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/mvnw diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/mvnw.cmd b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/mvnw.cmd rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/pom.xml b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/application.properties b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/HELP.md b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/HELP.md rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/HELP.md diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/mvnw b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/mvnw rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/mvnw diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/mvnw.cmd b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/mvnw.cmd rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/pom.xml b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/application.properties b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/HELP.md b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/HELP.md rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/HELP.md diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/mvnw b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/mvnw rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/mvnw diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/mvnw.cmd b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/mvnw.cmd rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/pom.xml b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/resources/application.properties b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/HELP.md b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/HELP.md rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/HELP.md diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/mvnw b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/mvnw rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/mvnw diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/mvnw.cmd b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/mvnw.cmd rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/pom.xml b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/resources/application.properties b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/HELP.md b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/HELP.md rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/HELP.md diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/mvnw b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/mvnw rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/mvnw diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/mvnw.cmd b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/mvnw.cmd rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/pom.xml b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/application.properties b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/HELP.md b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/HELP.md rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/HELP.md diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/mvnw b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/mvnw rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/mvnw diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/mvnw.cmd b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/mvnw.cmd rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/pom.xml b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/application.properties b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/HELP.md b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/HELP.md rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/HELP.md diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/mvnw b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/mvnw rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/mvnw diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/mvnw.cmd b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/mvnw.cmd rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/pom.xml b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/resources/application.properties b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/HELP.md b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/HELP.md rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/HELP.md diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/mvnw b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/mvnw rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/mvnw diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/mvnw.cmd b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/mvnw.cmd rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/pom.xml b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/application.properties b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/HELP.md b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/HELP.md rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/HELP.md diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw.cmd b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw.cmd rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/pom.xml b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/HELP.md b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/HELP.md rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/HELP.md diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw.cmd b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw.cmd rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/pom.xml b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/HELP.md b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/HELP.md rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/HELP.md diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw.cmd b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw.cmd rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/pom.xml b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/HELP.md b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/HELP.md rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/HELP.md diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/mvnw b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/mvnw rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/mvnw diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/mvnw.cmd b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/mvnw.cmd rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/pom.xml b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/HELP.md b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/HELP.md rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/HELP.md diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw.cmd b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw.cmd rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/pom.xml b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/HELP.md b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/HELP.md rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/HELP.md diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw.cmd b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw.cmd rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/pom.xml b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/HELP.md b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/HELP.md rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/HELP.md diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw.cmd b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw.cmd rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/pom.xml b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/HELP.md b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/HELP.md rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/HELP.md diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/mvnw b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/mvnw rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/mvnw diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/mvnw.cmd b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/mvnw.cmd rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/pom.xml b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/HELP.md b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/HELP.md rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/HELP.md diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw.cmd b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw.cmd rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/pom.xml b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/HELP.md b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/HELP.md rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/HELP.md diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw.cmd b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw.cmd rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/pom.xml b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/HELP.md b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/HELP.md rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/HELP.md diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw.cmd b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw.cmd rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/pom.xml b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/HELP.md b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/HELP.md rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/HELP.md diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/mvnw b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/mvnw rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/mvnw diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/mvnw.cmd b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/mvnw.cmd rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/pom.xml b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/resources/application-test.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application-test.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/resources/application-test.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application-test.properties diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/HELP.md b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/HELP.md rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/HELP.md diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/mvnw b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/mvnw rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/mvnw diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/mvnw.cmd b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/mvnw.cmd rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/pom.xml b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/HELP.md b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/HELP.md rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/HELP.md diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/mvnw b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/mvnw rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/mvnw.cmd b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/mvnw.cmd rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/pom.xml b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/pom.xml new file mode 100644 index 0000000..4921185 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + + + com.luv2code + spring-boot-mvc-testing-demo + 1.0.0 + war + + + 23 + + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + + + diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/application-test.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application-test.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/application-test.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application-test.properties diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/insertGrade.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertGrade.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/insertGrade.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertGrade.sql diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/overRideData.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/overRideData.sql similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/overRideData.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/overRideData.sql diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.00-starting-project/pom.xml b/4.00-starting-project/pom.xml index 7e4b6f3..b254422 100644 --- a/4.00-starting-project/pom.xml +++ b/4.00-starting-project/pom.xml @@ -33,8 +33,8 @@ - mysql - mysql-connector-java + com.mysql + mysql-connector-j runtime diff --git a/4.00-starting-project/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.00-starting-project/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java index fe4eb8d..ff62e5f 100644 --- a/4.00-starting-project/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ b/4.00-starting-project/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "student") diff --git a/4.00-starting-project/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.00-starting-project/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java index 624c7d3..07c5cb4 100644 --- a/4.00-starting-project/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ b/4.00-starting-project/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "history_grade") diff --git a/4.00-starting-project/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.00-starting-project/src/main/java/com/luv2code/springmvc/models/MathGrade.java index 229841d..254a13f 100644 --- a/4.00-starting-project/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ b/4.00-starting-project/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "math_grade") diff --git a/4.00-starting-project/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.00-starting-project/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java index 32fb96d..d2d7b98 100644 --- a/4.00-starting-project/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ b/4.00-starting-project/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -1,6 +1,6 @@ package com.luv2code.springmvc.models; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Table(name = "science_grade") diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/HELP.md b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/HELP.md rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/HELP.md diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/mvnw b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/mvnw similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/mvnw rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/mvnw diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/mvnw.cmd b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/mvnw.cmd rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/mvnw.cmd diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml similarity index 95% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml index 7e4b6f3..b254422 100644 --- a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml @@ -33,8 +33,8 @@ - mysql - mysql-connector-java + com.mysql + mysql-connector-j runtime diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/HELP.md b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/HELP.md rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/HELP.md diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/mvnw b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/mvnw similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/mvnw rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/mvnw diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/mvnw.cmd b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/mvnw.cmd rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/mvnw.cmd diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/pom.xml b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/pom.xml similarity index 95% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/pom.xml rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/pom.xml index 7e4b6f3..b254422 100644 --- a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/pom.xml +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/pom.xml @@ -33,8 +33,8 @@ - mysql - mysql-connector-java + com.mysql + mysql-connector-j runtime diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/resources/application.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/HELP.md b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/HELP.md rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/HELP.md diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/mvnw b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/mvnw similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/mvnw rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/mvnw diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/mvnw.cmd b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/mvnw.cmd rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/mvnw.cmd diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/pom.xml b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/pom.xml similarity index 95% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/pom.xml rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/pom.xml index 7e4b6f3..b254422 100644 --- a/4.01-starting-project-solutions/solution-4.01-04-create-student/pom.xml +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/pom.xml @@ -33,8 +33,8 @@ - mysql - mysql-connector-java + com.mysql + mysql-connector-j runtime diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/resources/application.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/HELP.md b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/HELP.md rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/HELP.md diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/mvnw b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/mvnw similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/mvnw rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/mvnw diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/mvnw.cmd b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/mvnw.cmd rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/mvnw.cmd diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/pom.xml b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/pom.xml similarity index 95% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/pom.xml rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/pom.xml index 7e4b6f3..b254422 100644 --- a/4.01-starting-project-solutions/solution-4.01-05-delete-student/pom.xml +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/pom.xml @@ -33,8 +33,8 @@ - mysql - mysql-connector-java + com.mysql + mysql-connector-j runtime diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/resources/application.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/HELP.md b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/HELP.md rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/HELP.md diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/mvnw b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/mvnw similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/mvnw rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/mvnw diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/mvnw.cmd b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/mvnw.cmd rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/pom.xml b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/pom.xml new file mode 100644 index 0000000..b254422 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/pom.xml @@ -0,0 +1,64 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.6.6 + + + + com.luv2code + spring-testing-annotation + 1.0 + + + 17 + + + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/resources/application.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/HELP.md b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/HELP.md rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/HELP.md diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/mvnw b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/mvnw similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/mvnw rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/mvnw diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/mvnw.cmd b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/mvnw.cmd rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/pom.xml b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/pom.xml new file mode 100644 index 0000000..b254422 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/pom.xml @@ -0,0 +1,64 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.6.6 + + + + com.luv2code + spring-testing-annotation + 1.0 + + + 17 + + + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/resources/application.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/HELP.md b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/HELP.md rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/HELP.md diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/mvnw b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/mvnw similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/mvnw rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/mvnw diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/mvnw.cmd b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/mvnw.cmd rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/pom.xml b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/pom.xml new file mode 100644 index 0000000..b254422 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/pom.xml @@ -0,0 +1,64 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.6.6 + + + + com.luv2code + spring-testing-annotation + 1.0 + + + 17 + + + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/resources/application.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/HELP.md b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/HELP.md rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/HELP.md diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/mvnw b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/mvnw similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/mvnw rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/mvnw diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/mvnw.cmd b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/mvnw.cmd rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/pom.xml b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/pom.xml new file mode 100644 index 0000000..b254422 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/pom.xml @@ -0,0 +1,64 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.6.6 + + + + com.luv2code + spring-testing-annotation + 1.0 + + + 17 + + + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/resources/application.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/HELP.md b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/HELP.md rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/HELP.md diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw.cmd b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw.cmd rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml new file mode 100644 index 0000000..b254422 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml @@ -0,0 +1,64 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.6.6 + + + + com.luv2code + spring-testing-annotation + 1.0 + + + 17 + + + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/HELP.md b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/HELP.md rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/HELP.md diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml new file mode 100644 index 0000000..b254422 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml @@ -0,0 +1,64 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.6.6 + + + + com.luv2code + spring-testing-annotation + 1.0 + + + 17 + + + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/HELP.md b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/HELP.md rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/HELP.md diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/mvnw b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/mvnw similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/mvnw rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/mvnw diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/mvnw.cmd b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/mvnw.cmd rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/pom.xml b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/pom.xml new file mode 100644 index 0000000..b254422 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/pom.xml @@ -0,0 +1,64 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.6.6 + + + + com.luv2code + spring-testing-annotation + 1.0 + + + 17 + + + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/resources/application.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/HELP.md b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/HELP.md rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/HELP.md diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw.cmd b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw.cmd rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml new file mode 100644 index 0000000..b254422 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml @@ -0,0 +1,64 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.6.6 + + + + com.luv2code + spring-testing-annotation + 1.0 + + + 17 + + + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/HELP.md b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/HELP.md rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/HELP.md diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml new file mode 100644 index 0000000..b254422 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml @@ -0,0 +1,64 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.6.6 + + + + com.luv2code + spring-testing-annotation + 1.0 + + + 17 + + + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + com.h2database + h2 + runtime + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java new file mode 100644 index 0000000..ff62e5f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java @@ -0,0 +1,78 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "student") +public class CollegeStudent implements Student { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column + private String firstname; + @Column + private String lastname; + @Column(name="email_address") + private String emailAddress; + + public CollegeStudent() { + + } + + public CollegeStudent(String firstname, String lastname, String emailAddress) { + this.firstname = firstname; + this.lastname = lastname; + this.emailAddress = emailAddress; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + + public String getEmailAddress() { + return emailAddress; + } + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public String getFullName() { + return getFirstname() + " " + getLastname(); + } + + @Override + public String toString() { + return "CollegeStudent{" + + "id=" + id + + ", firstname='" + firstname + '\'' + + ", lastname='" + lastname + '\'' + + ", emailAddress='" + emailAddress + '\'' + + '}'; + } + + public String studentInformation() { + return getFullName() + " " + getEmailAddress(); + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java new file mode 100644 index 0000000..07c5cb4 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "history_grade") +public class HistoryGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public HistoryGrade() { + + } + + public HistoryGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java new file mode 100644 index 0000000..254a13f --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "math_grade") +public class MathGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public MathGrade() { + + } + + public MathGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java new file mode 100644 index 0000000..d2d7b98 --- /dev/null +++ b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java @@ -0,0 +1,48 @@ +package com.luv2code.springmvc.models; + +import jakarta.persistence.*; + +@Entity +@Table(name = "science_grade") +public class ScienceGrade implements Grade { + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private int id; + @Column(name="student_id") + private int studentId; + @Column(name="grade") + private double grade; + + public ScienceGrade() { + + } + + public ScienceGrade(double grade) { + this.grade = grade; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getStudentId() { + return studentId; + } + + public void setStudentId(int studentId) { + this.studentId = studentId; + } + + @Override + public double getGrade() { + return grade; + } + + public void setGrade(double grade) { + this.grade = grade; + } +} diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/pom.xml b/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/pom.xml deleted file mode 100644 index 7e4b6f3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/pom.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - - - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/pom.xml b/4.01-starting-project-solutions/solution-4.01-07-student-information-created/pom.xml deleted file mode 100644 index 7e4b6f3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/pom.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - - - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/pom.xml b/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/pom.xml deleted file mode 100644 index 7e4b6f3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/pom.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - - - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/pom.xml b/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/pom.xml deleted file mode 100644 index 7e4b6f3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/pom.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - - - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml b/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml deleted file mode 100644 index 7e4b6f3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - - - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml b/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml deleted file mode 100644 index 7e4b6f3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - - - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/pom.xml b/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/pom.xml deleted file mode 100644 index 7e4b6f3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/pom.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - - - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml b/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml deleted file mode 100644 index 7e4b6f3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - - - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml b/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml deleted file mode 100644 index 7e4b6f3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - - - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - - - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - mysql - mysql-connector-java - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index fe4eb8d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 624c7d3..0000000 --- a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 229841d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index 32fb96d..0000000 --- a/4.01-starting-project-solutions/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import javax.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} From db3bcc6c4dc169ada230141adcebb35fce341e83 Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Tue, 7 Jan 2025 17:40:34 -0500 Subject: [PATCH 11/20] updates for Java 23 and Spring Boot 3 --- .../luv2code/springmvc/StudentAndGradeServiceTest.java | 1 + .../luv2code/springmvc/StudentAndGradeServiceTest.java | 6 ++++-- .../com/luv2code/springmvc/GradebookControllerTest.java | 5 +++-- .../luv2code/springmvc/StudentAndGradeServiceTest.java | 5 +++-- .../springmvc/controller/GradebookController.java | 2 -- .../com/luv2code/springmvc/GradebookControllerTest.java | 7 ++++--- .../luv2code/springmvc/StudentAndGradeServiceTest.java | 6 ++++-- .../com/luv2code/springmvc/GradebookControllerTest.java | 5 +++-- .../luv2code/springmvc/StudentAndGradeServiceTest.java | 5 +++-- .../com/luv2code/springmvc/GradebookControllerTest.java | 5 +++-- .../luv2code/springmvc/StudentAndGradeServiceTest.java | 5 +++-- .../com/luv2code/springmvc/GradebookControllerTest.java | 8 ++++---- .../luv2code/springmvc/StudentAndGradeServiceTest.java | 5 +++-- .../com/luv2code/springmvc/GradebookControllerTest.java | 7 ++++--- .../luv2code/springmvc/StudentAndGradeServiceTest.java | 6 ++++-- 15 files changed, 46 insertions(+), 32 deletions(-) diff --git a/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 56c8a50..4b800f1 100644 --- a/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-07-testing-spring-boot-mvc-web-apps-database-integration-testing/3.01-05-solution-sql-annotation-get-gradebook-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -36,6 +36,7 @@ public void setupDatabase() { jdbc.execute("insert into student(firstname, lastname, email_address) " + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } + @Test public void createStudentService() { diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 6058f45..327f43b 100644 --- a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-06-solution-gradebookcontroller-test-iterable-equals/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -33,9 +33,10 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } + @Test public void createStudentService() { @@ -89,5 +90,6 @@ public void getGradebookService() { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index 23f6790..e54aaf3 100644 --- a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -42,8 +42,8 @@ public class GradebookControllerTest { @BeforeEach public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -72,6 +72,7 @@ public void getStudentsHttpRequest () throws Exception { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 6058f45..56c8a50 100644 --- a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-07-solution-gradebookcontroller-add-mvc-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -33,8 +33,8 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test public void createStudentService() { @@ -89,5 +89,6 @@ public void getGradebookService() { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java index 8ecbbc9..dd93122 100644 --- a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java @@ -30,8 +30,6 @@ public String createStudent(@ModelAttribute("student") CollegeStudent student, M return "index"; } - - @GetMapping("/studentInformation/{id}") public String studentInformation(@PathVariable int id, Model m) { return "studentInformation"; diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index 1203263..5376e65 100644 --- a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -60,9 +60,9 @@ public static void setup() { } @BeforeEach - public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + public void setupDatabase() { + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -111,6 +111,7 @@ public void createStudentHttpRequest() throws Exception { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 6058f45..327f43b 100644 --- a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-08-solution-create-student-http-post-request-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -33,9 +33,10 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } + @Test public void createStudentService() { @@ -89,5 +90,6 @@ public void getGradebookService() { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index 7bb8a16..ce7a307 100644 --- a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -61,8 +61,8 @@ public static void setup() { @BeforeEach public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -120,6 +120,7 @@ public void createStudentHttpRequest() throws Exception { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 6058f45..56c8a50 100644 --- a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-09-solution-create-student-http-request-when-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -33,8 +33,8 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test public void createStudentService() { @@ -89,5 +89,6 @@ public void getGradebookService() { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index 7bb8a16..ce7a307 100644 --- a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -61,8 +61,8 @@ public static void setup() { @BeforeEach public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -120,6 +120,7 @@ public void createStudentHttpRequest() throws Exception { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 6058f45..56c8a50 100644 --- a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-10-solution-update-index-html-to-handle-create-and-get-students/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -33,8 +33,8 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test public void createStudentService() { @@ -89,5 +89,6 @@ public void getGradebookService() { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index 2d8583a..958328b 100644 --- a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -59,9 +59,9 @@ public static void setup() { } @BeforeEach - public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + public void setupDatabase() { + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -132,10 +132,10 @@ public void deleteStudentHttpRequest() throws Exception { assertFalse(studentDao.findById(1).isPresent()); } - @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 092a9ca..327f43b 100644 --- a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-11-solution-delete-student-http-added/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -33,9 +33,10 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - CollegeStudent student = new CollegeStudent("Eric", "Roby", "eric.roby@luv2code_school.com"); - studentDao.save(student); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } + @Test public void createStudentService() { diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index ba6685c..850fa38 100644 --- a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -59,9 +59,9 @@ public static void setup() { } @BeforeEach - public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + public void setupDatabase() { + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -148,6 +148,7 @@ public void deleteStudentHttpRequestErrorPage() throws Exception { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 6058f45..327f43b 100644 --- a/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-08-testing-spring-boot-mvc-web-apps-mvc-controller-testing/3.01-12-solution-delete-student-http-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -33,9 +33,10 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } + @Test public void createStudentService() { @@ -89,5 +90,6 @@ public void getGradebookService() { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } From a65e7400eceae6f252fd548d60d8936ff7478ee8 Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Tue, 7 Jan 2025 18:11:45 -0500 Subject: [PATCH 12/20] updates for Java 23 and Spring Boot 3 --- .../springmvc/GradebookControllerTest.java | 5 +++-- .../springmvc/StudentAndGradeServiceTest.java | 5 +++-- .../springmvc/GradebookControllerTest.java | 6 +++--- .../springmvc/StudentAndGradeServiceTest.java | 6 ++++-- .../springmvc/GradebookControllerTest.java | 5 +++-- .../springmvc/StudentAndGradeServiceTest.java | 5 +++-- .../springmvc/GradebookControllerTest.java | 5 +++-- .../springmvc/StudentAndGradeServiceTest.java | 7 ++++--- .../springmvc/GradebookControllerTest.java | 5 +++-- .../springmvc/StudentAndGradeServiceTest.java | 15 ++++++++++----- 10 files changed, 39 insertions(+), 25 deletions(-) diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index ba6685c..d94a125 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -60,8 +60,8 @@ public static void setup() { @BeforeEach public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -148,6 +148,7 @@ public void deleteStudentHttpRequestErrorPage() throws Exception { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 57abc33..d395ff8 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-13-solution-create-grade-service-passed-for-math-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -38,8 +38,8 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test public void createStudentService() { @@ -107,5 +107,6 @@ public void createGradeService() { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index ba6685c..20efb4f 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -60,8 +60,8 @@ public static void setup() { @BeforeEach public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -144,10 +144,10 @@ public void deleteStudentHttpRequestErrorPage() throws Exception { ModelAndViewAssert.assertViewName(mav, "error"); } - @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 9af2071..e8ef3a1 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-14-solution-create-grade-service-passed-for-science-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -43,8 +43,8 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test public void createStudentService() { @@ -115,5 +115,7 @@ public void createGradeService() { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } + } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index ba6685c..d94a125 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -60,8 +60,8 @@ public static void setup() { @BeforeEach public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -148,6 +148,7 @@ public void deleteStudentHttpRequestErrorPage() throws Exception { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 52fc2ee..a5ab9c3 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-15-solution-create-grade-service-passed-for-history-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -48,8 +48,8 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test public void createStudentService() { @@ -123,5 +123,6 @@ public void createGradeService() { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index ba6685c..d94a125 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -60,8 +60,8 @@ public static void setup() { @BeforeEach public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -148,6 +148,7 @@ public void deleteStudentHttpRequestErrorPage() throws Exception { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 5c3603b..2fcfd50 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-16-solution-create-grade-service-returns-false/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -48,8 +48,8 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test public void createStudentService() { @@ -128,9 +128,10 @@ public void createGradeServiceReturnFalse() { assertFalse(studentService.createGrade(80.50, 1, "literature")); } - + @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index ba6685c..d94a125 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -60,8 +60,8 @@ public static void setup() { @BeforeEach public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -148,6 +148,7 @@ public void deleteStudentHttpRequestErrorPage() throws Exception { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 2260f43..90ca101 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-17-solution-add-math-science-history-grades-to-before-and-after/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -48,14 +48,14 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); - jdbc.execute("insert into math_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into math_grade(student_id,grade) values (1,100.00)"); - jdbc.execute("insert into science_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into science_grade(student_id,grade) values (1,100.00)"); - jdbc.execute("insert into history_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into history_grade(student_id,grade) values (1,100.00)"); } @@ -143,5 +143,10 @@ public void setupAfterTransaction() { jdbc.execute("DELETE FROM math_grade"); jdbc.execute("DELETE FROM science_grade"); jdbc.execute("DELETE FROM history_grade"); + + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1"); } } From bec8afa90589fdc25307aa95947f4a159843408b Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Wed, 8 Jan 2025 07:03:53 -0500 Subject: [PATCH 13/20] updates for Java 23 and Spring Boot 3 --- .../springmvc/GradebookControllerTest.java | 5 +++-- .../springmvc/StudentAndGradeServiceTest.java | 15 ++++++++++----- .../springmvc/GradebookControllerTest.java | 5 +++-- .../springmvc/StudentAndGradeServiceTest.java | 15 ++++++++++----- .../springmvc/GradebookControllerTest.java | 5 +++-- .../springmvc/StudentAndGradeServiceTest.java | 15 ++++++++++----- .../springmvc/GradebookControllerTest.java | 5 +++-- .../springmvc/StudentAndGradeServiceTest.java | 16 +++++++++++----- .../springmvc/GradebookControllerTest.java | 5 +++-- .../springmvc/StudentAndGradeServiceTest.java | 15 ++++++++++----- .../springmvc/GradebookControllerTest.java | 5 +++-- .../springmvc/StudentAndGradeServiceTest.java | 16 +++++++++++----- .../springmvc/GradebookControllerTest.java | 5 +++-- .../springmvc/StudentAndGradeServiceTest.java | 16 +++++++++++----- 14 files changed, 94 insertions(+), 49 deletions(-) diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index ba6685c..d94a125 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -60,8 +60,8 @@ public static void setup() { @BeforeEach public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -148,6 +148,7 @@ public void deleteStudentHttpRequestErrorPage() throws Exception { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index b0eee11..3648784 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-18-solution-edit-create-grade-service-to-use-collections/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -49,14 +49,14 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); - jdbc.execute("insert into math_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into math_grade(student_id,grade) values (1,100.00)"); - jdbc.execute("insert into science_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into science_grade(student_id,grade) values (1,100.00)"); - jdbc.execute("insert into history_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into history_grade(student_id,grade) values (1,100.00)"); } @@ -145,5 +145,10 @@ public void setupAfterTransaction() { jdbc.execute("DELETE FROM math_grade"); jdbc.execute("DELETE FROM science_grade"); jdbc.execute("DELETE FROM history_grade"); + + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index ba6685c..d94a125 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -60,8 +60,8 @@ public static void setup() { @BeforeEach public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -148,6 +148,7 @@ public void deleteStudentHttpRequestErrorPage() throws Exception { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 99e97e5..e1d44d4 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-19-solution-delete-grade-math-service-only/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -49,14 +49,14 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); - jdbc.execute("insert into math_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into math_grade(student_id,grade) values (1,100.00)"); - jdbc.execute("insert into science_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into science_grade(student_id,grade) values (1,100.00)"); - jdbc.execute("insert into history_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into history_grade(student_id,grade) values (1,100.00)"); } @@ -150,5 +150,10 @@ public void setupAfterTransaction() { jdbc.execute("DELETE FROM math_grade"); jdbc.execute("DELETE FROM science_grade"); jdbc.execute("DELETE FROM history_grade"); + + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index ba6685c..d94a125 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -60,8 +60,8 @@ public static void setup() { @BeforeEach public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -148,6 +148,7 @@ public void deleteStudentHttpRequestErrorPage() throws Exception { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 8bb86e9..a4de562 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-20-solution-delete-grade-science-and-history/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -49,14 +49,14 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); - jdbc.execute("insert into math_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into math_grade(student_id,grade) values (1,100.00)"); - jdbc.execute("insert into science_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into science_grade(student_id,grade) values (1,100.00)"); - jdbc.execute("insert into history_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into history_grade(student_id,grade) values (1,100.00)"); } @@ -154,5 +154,10 @@ public void setupAfterTransaction() { jdbc.execute("DELETE FROM math_grade"); jdbc.execute("DELETE FROM science_grade"); jdbc.execute("DELETE FROM history_grade"); + + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index ba6685c..d94a125 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -60,8 +60,8 @@ public static void setup() { @BeforeEach public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -148,6 +148,7 @@ public void deleteStudentHttpRequestErrorPage() throws Exception { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 0685dfb..5665328 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-21-solution-delete-grade-science-return-student-id-zero/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -49,14 +49,14 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); - jdbc.execute("insert into math_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into math_grade(student_id,grade) values (1,100.00)"); - jdbc.execute("insert into science_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into science_grade(student_id,grade) values (1,100.00)"); - jdbc.execute("insert into history_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into history_grade(student_id,grade) values (1,100.00)"); } @@ -162,5 +162,11 @@ public void setupAfterTransaction() { jdbc.execute("DELETE FROM math_grade"); jdbc.execute("DELETE FROM science_grade"); jdbc.execute("DELETE FROM history_grade"); + + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1"); } + } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index ba6685c..d94a125 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -60,8 +60,8 @@ public static void setup() { @BeforeEach public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -148,6 +148,7 @@ public void deleteStudentHttpRequestErrorPage() throws Exception { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index a3241f1..726be4e 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-22-solution-enhance-delete-student-service-to-now-delete-grades/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -46,14 +46,14 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); - jdbc.execute("insert into math_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into math_grade(student_id,grade) values (1,100.00)"); - jdbc.execute("insert into science_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into science_grade(student_id,grade) values (1,100.00)"); - jdbc.execute("insert into history_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into history_grade(student_id,grade) values (1,100.00)"); } @@ -168,5 +168,10 @@ public void setupAfterTransaction() { jdbc.execute("DELETE FROM math_grade"); jdbc.execute("DELETE FROM science_grade"); jdbc.execute("DELETE FROM history_grade"); + + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index ba6685c..d94a125 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -60,8 +60,8 @@ public static void setup() { @BeforeEach public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -148,6 +148,7 @@ public void deleteStudentHttpRequestErrorPage() throws Exception { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index 6a77f80..1bc04b2 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-23-solution-student-information-service-test-pass/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -46,14 +46,14 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); - jdbc.execute("insert into math_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into math_grade(student_id,grade) values (1,100.00)"); - jdbc.execute("insert into science_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into science_grade(student_id,grade) values (1,100.00)"); - jdbc.execute("insert into history_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into history_grade(student_id,grade) values (1,100.00)"); } @@ -183,5 +183,11 @@ public void setupAfterTransaction() { jdbc.execute("DELETE FROM math_grade"); jdbc.execute("DELETE FROM science_grade"); jdbc.execute("DELETE FROM history_grade"); + + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1"); } + } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index ba6685c..d94a125 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -60,8 +60,8 @@ public static void setup() { @BeforeEach public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -148,6 +148,7 @@ public void deleteStudentHttpRequestErrorPage() throws Exception { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java index b4373bf..263c374 100644 --- a/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ b/3.01-starting-project-solutions/section-09-testing-spring-boot-mvc-web-apps-gradebook-app-student-grades/3.01-24-solution-student-information-return-null-for-invalid-student-id/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java @@ -46,14 +46,14 @@ public class StudentAndGradeServiceTest { @BeforeEach public void setupDatabase() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); - jdbc.execute("insert into math_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into math_grade(student_id,grade) values (1,100.00)"); - jdbc.execute("insert into science_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into science_grade(student_id,grade) values (1,100.00)"); - jdbc.execute("insert into history_grade(id,student_id,grade) values (1,1,100.00)"); + jdbc.execute("insert into history_grade(student_id,grade) values (1,100.00)"); } @@ -191,5 +191,11 @@ public void setupAfterTransaction() { jdbc.execute("DELETE FROM math_grade"); jdbc.execute("DELETE FROM science_grade"); jdbc.execute("DELETE FROM history_grade"); + + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1"); + jdbc.execute("ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1"); } + } From 0cd3c59688a463453e9f572eedadd797e9ba9d92 Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Wed, 8 Jan 2025 07:26:58 -0500 Subject: [PATCH 14/20] clean up --- .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/static/cssandjs/js/main.js | 0 .../src/main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../src/main/resources/templates/studentInformation.html | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/static/cssandjs/js/main.js | 0 .../src/main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../src/main/resources/templates/studentInformation.html | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/static/cssandjs/js/main.js | 0 .../src/main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../src/main/resources/templates/studentInformation.html | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../3.01-29-solution-create-grade-on-grade-book-controller/mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/static/cssandjs/js/main.js | 0 .../src/main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../src/main/resources/templates/studentInformation.html | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/static/cssandjs/js/main.js | 0 .../src/main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../src/main/resources/templates/studentInformation.html | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/static/cssandjs/js/main.js | 0 .../src/main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../src/main/resources/templates/studentInformation.html | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/static/cssandjs/js/main.js | 0 .../src/main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../src/main/resources/templates/studentInformation.html | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../3.01-33-solution-delete-a-valid-grade-http-request/HELP.md | 0 .../3.01-33-solution-delete-a-valid-grade-http-request/mvnw | 0 .../3.01-33-solution-delete-a-valid-grade-http-request/mvnw.cmd | 0 .../3.01-33-solution-delete-a-valid-grade-http-request/pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/static/cssandjs/js/main.js | 0 .../src/main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../src/main/resources/templates/studentInformation.html | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/static/cssandjs/js/main.js | 0 .../src/main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../src/main/resources/templates/studentInformation.html | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/static/cssandjs/js/main.js | 0 .../src/main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../src/main/resources/templates/studentInformation.html | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/static/cssandjs/js/main.js | 0 .../src/main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../src/main/resources/templates/studentInformation.html | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../3.01-37-solution-create-application-test-properties-file/mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/static/cssandjs/js/main.js | 0 .../src/main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../src/main/resources/templates/studentInformation.html | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../3.01-38-solution-update-app-to-connect-to-mysql/HELP.md | 0 .../3.01-38-solution-update-app-to-connect-to-mysql/mvnw | 0 .../3.01-38-solution-update-app-to-connect-to-mysql/mvnw.cmd | 0 .../3.01-38-solution-update-app-to-connect-to-mysql/pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/static/cssandjs/js/main.js | 0 .../src/main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../src/main/resources/templates/studentInformation.html | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../3.01-80-solution-final/HELP.md | 0 .../3.01-80-solution-final/mvnw | 0 .../3.01-80-solution-final/mvnw.cmd | 0 .../3.01-80-solution-final/pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../3.01-80-solution-final/src/main/resources/insertData.sql | 0 .../3.01-80-solution-final/src/main/resources/insertGrade.sql | 0 .../3.01-80-solution-final/src/main/resources/overRideData.sql | 0 .../src/main/resources/static/cssandjs/js/main.js | 0 .../src/main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../src/main/resources/templates/studentInformation.html | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../solution-4.01-02-setting-up-gradebook-controller-test/HELP.md | 0 .../solution-4.01-02-setting-up-gradebook-controller-test/mvnw | 0 .../mvnw.cmd | 0 .../solution-4.01-02-setting-up-gradebook-controller-test/pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../solution-4.01-03-get-students-test/HELP.md | 0 .../solution-4.01-03-get-students-test/mvnw | 0 .../solution-4.01-03-get-students-test/mvnw.cmd | 0 .../solution-4.01-03-get-students-test/pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../solution-4.01-04-create-student/HELP.md | 0 .../solution-4.01-04-create-student/mvnw | 0 .../solution-4.01-04-create-student/mvnw.cmd | 0 .../solution-4.01-04-create-student/pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../solution-4.01-05-delete-student/HELP.md | 0 .../solution-4.01-05-delete-student/mvnw | 0 .../solution-4.01-05-delete-student/mvnw.cmd | 0 .../solution-4.01-05-delete-student/pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../solution-4.01-06-delete-student-error-page/HELP.md | 0 .../solution-4.01-06-delete-student-error-page/mvnw | 0 .../solution-4.01-06-delete-student-error-page/mvnw.cmd | 0 .../solution-4.01-06-delete-student-error-page/pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../solution-4.01-07-student-information-created/HELP.md | 0 .../solution-4.01-07-student-information-created/mvnw | 0 .../solution-4.01-07-student-information-created/mvnw.cmd | 0 .../solution-4.01-07-student-information-created/pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../solution-4.01-08-student-information-student-not-found/mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../solution-4.01-09-create-a-valid-grade/HELP.md | 0 .../solution-4.01-09-create-a-valid-grade/mvnw | 0 .../solution-4.01-09-create-a-valid-grade/mvnw.cmd | 0 .../solution-4.01-09-create-a-valid-grade/pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../solution-4.01-12-delete-a-valid-grade/HELP.md | 0 .../solution-4.01-12-delete-a-valid-grade/mvnw | 0 .../solution-4.01-12-delete-a-valid-grade/mvnw.cmd | 0 .../solution-4.01-12-delete-a-valid-grade/pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 814 files changed, 0 insertions(+), 0 deletions(-) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/HELP.md (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/pom.xml (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/HELP.md (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/pom.xml (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files}/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/HELP.md (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/pom.xml (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/HELP.md (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/mvnw (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/pom.xml (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/HELP.md (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/pom.xml (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/HELP.md (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/pom.xml (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/HELP.md (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/pom.xml (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/HELP.md (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/mvnw (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/pom.xml (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/HELP.md (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/pom.xml (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/HELP.md (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/pom.xml (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/HELP.md (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/pom.xml (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/HELP.md (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/mvnw (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/pom.xml (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/resources/application-test.properties (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/HELP.md (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/mvnw (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/pom.xml (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/HELP.md (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/mvnw (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/mvnw.cmd (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/pom.xml (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/application-test.properties (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/insertGrade.sql (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/overRideData.sql (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/{section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades => section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades}/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/HELP.md (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/mvnw (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/mvnw.cmd (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/HELP.md (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/mvnw (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/mvnw.cmd (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/pom.xml (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/HELP.md (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/mvnw (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/mvnw.cmd (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/pom.xml (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/HELP.md (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/mvnw (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/mvnw.cmd (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/pom.xml (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/HELP.md (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/mvnw (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/mvnw.cmd (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/pom.xml (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/HELP.md (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/mvnw (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/mvnw.cmd (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/pom.xml (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/HELP.md (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/mvnw (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/mvnw.cmd (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/pom.xml (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/HELP.md (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/mvnw (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/mvnw.cmd (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/pom.xml (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/HELP.md (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw.cmd (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/HELP.md (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/HELP.md (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/mvnw (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/mvnw.cmd (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/pom.xml (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/HELP.md (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw.cmd (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/HELP.md (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/{section-11-testing-spring-boot-rest-apis => section-12-testing-spring-boot-rest-apis}/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/HELP.md b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/HELP.md rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/HELP.md diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw.cmd b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw.cmd rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/pom.xml b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/pom.xml rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/pom.xml diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/HELP.md b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/HELP.md rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/HELP.md diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw.cmd b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw.cmd rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/pom.xml b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/pom.xml rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/pom.xml diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/HELP.md diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/pom.xml diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/HELP.md diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/mvnw diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/pom.xml diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/HELP.md diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/pom.xml diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/HELP.md diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/pom.xml diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/HELP.md diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/pom.xml diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/HELP.md diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/mvnw diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/pom.xml diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/HELP.md diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/pom.xml diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/HELP.md diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/pom.xml diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/HELP.md diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/pom.xml diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/HELP.md diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/mvnw diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/pom.xml diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application-test.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application-test.properties similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application-test.properties rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application-test.properties diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/HELP.md diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/mvnw diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/pom.xml diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/HELP.md diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/pom.xml diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application-test.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application-test.properties similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application-test.properties rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application-test.properties diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertGrade.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertGrade.sql similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertGrade.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertGrade.sql diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/overRideData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/overRideData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/overRideData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/overRideData.sql diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/HELP.md diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/mvnw diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/HELP.md diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/mvnw diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/pom.xml diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/HELP.md diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/mvnw diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/pom.xml diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/HELP.md diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/mvnw diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/pom.xml diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/HELP.md diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/mvnw diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/pom.xml diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/HELP.md diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/mvnw diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/pom.xml diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/HELP.md diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/mvnw diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/pom.xml diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/HELP.md diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/mvnw diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/pom.xml diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/HELP.md diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/HELP.md diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/HELP.md diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/mvnw diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/pom.xml diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/HELP.md diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/HELP.md diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-11-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java From 8c5c4284097cd2468ad39f97354124b8c2abea73 Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Wed, 8 Jan 2025 07:38:55 -0500 Subject: [PATCH 15/20] updates for Java 23 and Spring Boot 3 --- .../src/main/resources/application.properties | 18 +++++++++--------- .../springmvc/GradebookControllerTest.java | 5 +++-- .../src/main/resources/application.properties | 18 +++++++++--------- 3 files changed, 21 insertions(+), 20 deletions(-) diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/application.properties index 0a10e58..3fdaa87 100644 --- a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/application.properties +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/main/resources/application.properties @@ -19,13 +19,13 @@ spring.jpa.show-sql = true ## SQL Scripts -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index ba6685c..d94a125 100644 --- a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-25-solution-setup-sql-scripts-in-application-props-file-and-student-service/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -60,8 +60,8 @@ public static void setup() { @BeforeEach public void beforeEach() { - jdbc.execute("insert into student(id, firstname, lastname, email_address) " + - "values (1, 'Eric', 'Roby', 'eric.roby@luv2code_school.com')"); + jdbc.execute("insert into student(firstname, lastname, email_address) " + + "values ('Eric', 'Roby', 'eric.roby@luv2code_school.com')"); } @Test @@ -148,6 +148,7 @@ public void deleteStudentHttpRequestErrorPage() throws Exception { @AfterEach public void setupAfterTransaction() { jdbc.execute("DELETE FROM student"); + jdbc.execute("ALTER TABLE student ALTER COLUMN ID RESTART WITH 1"); } } diff --git a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/application.properties b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/application.properties index 0a10e58..3fdaa87 100644 --- a/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/application.properties +++ b/3.01-starting-project-solutions/section-10-testing-spring-boot-mvc-web-apps-setup-sql-scripts-in-properties-files/3.01-26-solution-setup-sql-scripts-for-gradebook-controller-test/src/main/resources/application.properties @@ -19,13 +19,13 @@ spring.jpa.show-sql = true ## SQL Scripts -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 From 16945f1c6fa6f1b2a89dd3aabc40c55f440e8b51 Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Wed, 8 Jan 2025 19:34:17 -0500 Subject: [PATCH 16/20] updates for Java 23 and Spring Boot 3 --- .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 0 .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 0 .../luv2code/springmvc/models/MathGrade.java | 0 .../springmvc/models/ScienceGrade.java | 0 .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 32 ++ .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 0 .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 0 .../luv2code/springmvc/models/MathGrade.java | 0 .../springmvc/models/ScienceGrade.java | 0 .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 31 ++ .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../src/main/resources/application.properties | 31 -- .../src/main/resources/application.properties | 31 -- .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 0 .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 0 .../luv2code/springmvc/models/MathGrade.java | 0 .../springmvc/models/ScienceGrade.java | 0 .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 31 ++ .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 0 .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 0 .../luv2code/springmvc/models/MathGrade.java | 0 .../springmvc/models/ScienceGrade.java | 0 .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 32 ++ .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../src/main/resources/application.properties | 31 -- .../src/main/resources/application.properties | 31 -- .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 0 .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 0 .../luv2code/springmvc/models/MathGrade.java | 0 .../springmvc/models/ScienceGrade.java | 0 .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 31 ++ .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../src/main/resources/application.properties | 31 -- .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 0 .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 0 .../luv2code/springmvc/models/MathGrade.java | 0 .../springmvc/models/ScienceGrade.java | 0 .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 31 ++ .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 0 .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 0 .../luv2code/springmvc/models/MathGrade.java | 0 .../springmvc/models/ScienceGrade.java | 0 .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 31 ++ .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../src/main/resources/application.properties | 31 -- .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 0 .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 0 .../luv2code/springmvc/models/MathGrade.java | 0 .../springmvc/models/ScienceGrade.java | 0 .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 31 ++ .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../src/main/resources/application.properties | 31 -- .../src/main/resources/application.properties | 31 -- .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 0 .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 0 .../luv2code/springmvc/models/MathGrade.java | 0 .../springmvc/models/ScienceGrade.java | 0 .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../src/main/resources/application.properties | 31 ++ .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 0 .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 0 .../luv2code/springmvc/models/MathGrade.java | 0 .../springmvc/models/ScienceGrade.java | 0 .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 31 ++ .../src/main/resources/application.properties | 31 ++ .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../src/main/resources/application.properties | 31 -- .../resources/application-test.properties | 31 -- .../src/main/resources/application.properties | 31 -- .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../MvcTestingExampleApplication.java | 0 .../springmvc/ServletInitializer.java | 0 .../controller/GradebookController.java | 0 .../springmvc/models/CollegeStudent.java | 0 .../com/luv2code/springmvc/models/Grade.java | 0 .../luv2code/springmvc/models/Gradebook.java | 0 .../models/GradebookCollegeStudent.java | 0 .../springmvc/models/HistoryGrade.java | 0 .../luv2code/springmvc/models/MathGrade.java | 0 .../springmvc/models/ScienceGrade.java | 0 .../luv2code/springmvc/models/Student.java | 0 .../springmvc/models/StudentGrades.java | 0 .../repository/HistoryGradesDao.java | 0 .../springmvc/repository/MathGradesDao.java | 0 .../repository/ScienceGradesDao.java | 0 .../springmvc/repository/StudentDao.java | 0 .../service/StudentAndGradeService.java | 0 .../resources/application-test.properties | 31 ++ .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../main/resources/static/cssandjs/js/main.js | 0 .../main/resources/static/cssandjs/main.css | 0 .../src/main/resources/templates/error.html | 0 .../src/main/resources/templates/index.html | 0 .../templates/studentInformation.html | 0 .../springmvc/GradebookControllerTest.java | 0 .../springmvc/StudentAndGradeServiceTest.java | 0 .../resources/application-test.properties | 31 -- .../3.01-80-solution-final/HELP.md | 20 - .../3.01-80-solution-final/mvnw | 286 ----------- .../3.01-80-solution-final/mvnw.cmd | 161 ------ .../MvcTestingExampleApplication.java | 54 -- .../controller/GradebookController.java | 99 ---- .../springmvc/models/CollegeStudent.java | 78 --- .../com/luv2code/springmvc/models/Grade.java | 15 - .../luv2code/springmvc/models/Gradebook.java | 27 - .../models/GradebookCollegeStudent.java | 36 -- .../springmvc/models/HistoryGrade.java | 48 -- .../luv2code/springmvc/models/MathGrade.java | 48 -- .../springmvc/models/ScienceGrade.java | 48 -- .../luv2code/springmvc/models/Student.java | 9 - .../springmvc/models/StudentGrades.java | 70 --- .../repository/HistoryGradesDao.java | 13 - .../springmvc/repository/MathGradesDao.java | 13 - .../repository/ScienceGradesDao.java | 13 - .../springmvc/repository/StudentDao.java | 11 - .../service/StudentAndGradeService.java | 259 ---------- .../resources/application-test.properties | 25 - .../src/main/resources/application.properties | 20 - .../src/main/resources/insertData.sql | 4 - .../src/main/resources/insertGrade.sql | 36 -- .../src/main/resources/overRideData.sql | 3 - .../main/resources/static/cssandjs/js/main.js | 46 -- .../main/resources/static/cssandjs/main.css | 54 -- .../src/main/resources/templates/error.html | 44 -- .../src/main/resources/templates/index.html | 83 --- .../templates/studentInformation.html | 161 ------ .../springmvc/GradebookControllerTest.java | 471 ------------------ .../springmvc/StudentAndGradeServiceTest.java | 239 --------- 4.00-starting-project/pom.xml | 129 +++-- .../pom.xml | 3 +- .../pom.xml | 129 +++-- .../resources/application-test.properties | 18 +- .../springmvc/GradebookControllerTest.java | 4 +- .../pom.xml | 129 +++-- .../springmvc/GradebookControllerTest.java | 4 +- .../solution-4.01-04-create-student/pom.xml | 129 +++-- .../springmvc/GradebookControllerTest.java | 4 +- .../solution-4.01-05-delete-student/pom.xml | 129 +++-- .../springmvc/GradebookControllerTest.java | 4 +- .../pom.xml | 129 +++-- .../springmvc/GradebookControllerTest.java | 4 +- .../pom.xml | 129 +++-- .../springmvc/GradebookControllerTest.java | 4 +- .../pom.xml | 129 +++-- .../springmvc/GradebookControllerTest.java | 4 +- .../pom.xml | 129 +++-- .../springmvc/GradebookControllerTest.java | 4 +- .../pom.xml | 129 +++-- .../springmvc/GradebookControllerTest.java | 4 +- .../pom.xml | 129 +++-- .../springmvc/GradebookControllerTest.java | 4 +- .../pom.xml | 129 +++-- .../springmvc/GradebookControllerTest.java | 4 +- .../pom.xml | 129 +++-- .../springmvc/GradebookControllerTest.java | 4 +- .../pom.xml | 129 +++-- .../springmvc/GradebookControllerTest.java | 4 +- 404 files changed, 1502 insertions(+), 3617 deletions(-) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/HELP.md (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/mvnw (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/mvnw.cmd (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/pom.xml (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) create mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-28-solution-enhance-student-information-method-on-grade-book-controller => 3.01-27-solution-enhance-student-information-method-on-grade-book-controller}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/HELP.md (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/mvnw (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/mvnw.cmd (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/pom.xml (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) create mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-29-solution-create-grade-on-grade-book-controller => 3.01-28-solution-create-grade-on-grade-book-controller}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/HELP.md (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/mvnw (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/mvnw.cmd (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/pom.xml (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) create mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-30-solution-enhance-and-refactor-configure-student-information-model => 3.01-29-solution-enhance-and-refactor-configure-student-information-model}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/HELP.md (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/mvnw (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/mvnw.cmd (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/pom.xml (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) create mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist => 3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/HELP.md (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/mvnw (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/mvnw.cmd (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/pom.xml (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) create mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist => 3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/HELP.md (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/mvnw (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/mvnw.cmd (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/pom.xml (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) create mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-33-solution-delete-a-valid-grade-http-request => 3.01-32-solution-delete-a-valid-grade-http-request}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/HELP.md (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/mvnw (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/mvnw.cmd (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/pom.xml (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) create mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist => 3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/HELP.md (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/mvnw (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/mvnw.cmd (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/pom.xml (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) create mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-35-solution-delete-a-non-valid-grade-http-request => 3.01-34-solution-delete-a-non-valid-grade-http-request}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/HELP.md (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/mvnw (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/mvnw.cmd (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/pom.xml (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) create mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data => 3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/HELP.md (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/mvnw (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/mvnw.cmd (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/pom.xml (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) create mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/application-test.properties create mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/application.properties rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-37-solution-create-application-test-properties-file => 3.01-36-solution-create-application-test-properties-file}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application-test.properties delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application.properties rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/HELP.md (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/mvnw (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/mvnw.cmd (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/pom.xml (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) create mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/resources/application.properties (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/resources/insertData.sql (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/resources/static/cssandjs/js/main.js (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/resources/static/cssandjs/main.css (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/resources/templates/error.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/resources/templates/index.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/main/resources/templates/studentInformation.html (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/{3.01-38-solution-update-app-to-connect-to-mysql => 3.01-37-solution-update-app-to-connect-to-mysql}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/HELP.md delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw.cmd delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/controller/GradebookController.java delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Grade.java delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Gradebook.java delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/MathGrade.java delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Student.java delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/StudentGrades.java delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/StudentDao.java delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application-test.properties delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application.properties delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertData.sql delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertGrade.sql delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/overRideData.sql delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/js/main.js delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/main.css delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/error.html delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/index.html delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/studentInformation.html delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java delete mode 100644 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename {3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final => 4.01-starting-project-solutions}/pom.xml (96%) diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/HELP.md diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/mvnw diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/pom.xml diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties new file mode 100644 index 0000000..d13e67f --- /dev/null +++ b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties @@ -0,0 +1,32 @@ +info.school.name=luv2code +info.app.name=My Super Cool Gradebook +info.app.description=a fun way to track student grades! +info.app.version=1.0.0 + +## Server Properties +server.port= 1500 + +## H2 Test Database creds +spring.datasource.url=jdbc:h2:mem:testdb +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password=password +spring.datasource.initialization-mode=always +spring.jpa.database-platform=org.hibernate.dialect.H2Dialect +spring.h2.console.enabled=true +spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.show-sql = true + +## SQL Scripts + +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) + +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 + diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-27-solution-enhance-student-information-method-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/HELP.md diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/mvnw diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/pom.xml diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties new file mode 100644 index 0000000..3fdaa87 --- /dev/null +++ b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties @@ -0,0 +1,31 @@ +info.school.name=luv2code +info.app.name=My Super Cool Gradebook +info.app.description=a fun way to track student grades! +info.app.version=1.0.0 + +## Server Properties +server.port= 1500 + +## H2 Test Database creds +spring.datasource.url=jdbc:h2:mem:testdb +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password=password +spring.datasource.initialization-mode=always +spring.jpa.database-platform=org.hibernate.dialect.H2Dialect +spring.h2.console.enabled=true +spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.show-sql = true + +## SQL Scripts + +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) + +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-create-grade-on-grade-book-controller/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties deleted file mode 100644 index 0a10e58..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-28-solution-enhance-student-information-method-on-grade-book-controller/src/main/resources/application.properties +++ /dev/null @@ -1,31 +0,0 @@ -info.school.name=luv2code -info.app.name=My Super Cool Gradebook -info.app.description=a fun way to track student grades! -info.app.version=1.0.0 - -## Server Properties -server.port= 1500 - -## H2 Test Database creds -spring.datasource.url=jdbc:h2:mem:testdb -spring.datasource.driverClassName=org.h2.Driver -spring.datasource.username=sa -spring.datasource.password=password -spring.datasource.initialization-mode=always -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect -spring.h2.console.enabled=true -spring.jpa.hibernate.ddl-auto=create-drop -spring.jpa.show-sql = true - -## SQL Scripts - -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) - -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties deleted file mode 100644 index 0a10e58..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-create-grade-on-grade-book-controller/src/main/resources/application.properties +++ /dev/null @@ -1,31 +0,0 @@ -info.school.name=luv2code -info.app.name=My Super Cool Gradebook -info.app.description=a fun way to track student grades! -info.app.version=1.0.0 - -## Server Properties -server.port= 1500 - -## H2 Test Database creds -spring.datasource.url=jdbc:h2:mem:testdb -spring.datasource.driverClassName=org.h2.Driver -spring.datasource.username=sa -spring.datasource.password=password -spring.datasource.initialization-mode=always -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect -spring.h2.console.enabled=true -spring.jpa.hibernate.ddl-auto=create-drop -spring.jpa.show-sql = true - -## SQL Scripts - -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) - -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/HELP.md diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/mvnw diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/pom.xml diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties new file mode 100644 index 0000000..3fdaa87 --- /dev/null +++ b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties @@ -0,0 +1,31 @@ +info.school.name=luv2code +info.app.name=My Super Cool Gradebook +info.app.description=a fun way to track student grades! +info.app.version=1.0.0 + +## Server Properties +server.port= 1500 + +## H2 Test Database creds +spring.datasource.url=jdbc:h2:mem:testdb +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password=password +spring.datasource.initialization-mode=always +spring.jpa.database-platform=org.hibernate.dialect.H2Dialect +spring.h2.console.enabled=true +spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.show-sql = true + +## SQL Scripts + +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) + +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-29-solution-enhance-and-refactor-configure-student-information-model/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/HELP.md diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/pom.xml diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties new file mode 100644 index 0000000..d13e67f --- /dev/null +++ b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties @@ -0,0 +1,32 @@ +info.school.name=luv2code +info.app.name=My Super Cool Gradebook +info.app.description=a fun way to track student grades! +info.app.version=1.0.0 + +## Server Properties +server.port= 1500 + +## H2 Test Database creds +spring.datasource.url=jdbc:h2:mem:testdb +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password=password +spring.datasource.initialization-mode=always +spring.jpa.database-platform=org.hibernate.dialect.H2Dialect +spring.h2.console.enabled=true +spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.show-sql = true + +## SQL Scripts + +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) + +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 + diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-create-a-valid-grade-http-request-student-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties deleted file mode 100644 index 0a10e58..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-30-solution-enhance-and-refactor-configure-student-information-model/src/main/resources/application.properties +++ /dev/null @@ -1,31 +0,0 @@ -info.school.name=luv2code -info.app.name=My Super Cool Gradebook -info.app.description=a fun way to track student grades! -info.app.version=1.0.0 - -## Server Properties -server.port= 1500 - -## H2 Test Database creds -spring.datasource.url=jdbc:h2:mem:testdb -spring.datasource.driverClassName=org.h2.Driver -spring.datasource.username=sa -spring.datasource.password=password -spring.datasource.initialization-mode=always -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect -spring.h2.console.enabled=true -spring.jpa.hibernate.ddl-auto=create-drop -spring.jpa.show-sql = true - -## SQL Scripts - -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) - -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties deleted file mode 100644 index 0a10e58..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-a-valid-grade-http-request-student-does-not-exist/src/main/resources/application.properties +++ /dev/null @@ -1,31 +0,0 @@ -info.school.name=luv2code -info.app.name=My Super Cool Gradebook -info.app.description=a fun way to track student grades! -info.app.version=1.0.0 - -## Server Properties -server.port= 1500 - -## H2 Test Database creds -spring.datasource.url=jdbc:h2:mem:testdb -spring.datasource.driverClassName=org.h2.Driver -spring.datasource.username=sa -spring.datasource.password=password -spring.datasource.initialization-mode=always -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect -spring.h2.console.enabled=true -spring.jpa.hibernate.ddl-auto=create-drop -spring.jpa.show-sql = true - -## SQL Scripts - -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) - -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/HELP.md diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/pom.xml diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties new file mode 100644 index 0000000..3fdaa87 --- /dev/null +++ b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties @@ -0,0 +1,31 @@ +info.school.name=luv2code +info.app.name=My Super Cool Gradebook +info.app.description=a fun way to track student grades! +info.app.version=1.0.0 + +## Server Properties +server.port= 1500 + +## H2 Test Database creds +spring.datasource.url=jdbc:h2:mem:testdb +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password=password +spring.datasource.initialization-mode=always +spring.jpa.database-platform=org.hibernate.dialect.H2Dialect +spring.h2.console.enabled=true +spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.show-sql = true + +## SQL Scripts + +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) + +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-31-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties deleted file mode 100644 index 0a10e58..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-create-an-invalid-grade-http-request-grade-type-does-not-exist/src/main/resources/application.properties +++ /dev/null @@ -1,31 +0,0 @@ -info.school.name=luv2code -info.app.name=My Super Cool Gradebook -info.app.description=a fun way to track student grades! -info.app.version=1.0.0 - -## Server Properties -server.port= 1500 - -## H2 Test Database creds -spring.datasource.url=jdbc:h2:mem:testdb -spring.datasource.driverClassName=org.h2.Driver -spring.datasource.username=sa -spring.datasource.password=password -spring.datasource.initialization-mode=always -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect -spring.h2.console.enabled=true -spring.jpa.hibernate.ddl-auto=create-drop -spring.jpa.show-sql = true - -## SQL Scripts - -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) - -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/HELP.md diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/mvnw diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/pom.xml diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties new file mode 100644 index 0000000..3fdaa87 --- /dev/null +++ b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties @@ -0,0 +1,31 @@ +info.school.name=luv2code +info.app.name=My Super Cool Gradebook +info.app.description=a fun way to track student grades! +info.app.version=1.0.0 + +## Server Properties +server.port= 1500 + +## H2 Test Database creds +spring.datasource.url=jdbc:h2:mem:testdb +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password=password +spring.datasource.initialization-mode=always +spring.jpa.database-platform=org.hibernate.dialect.H2Dialect +spring.h2.console.enabled=true +spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.show-sql = true + +## SQL Scripts + +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) + +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-32-solution-delete-a-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/HELP.md diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/pom.xml diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties new file mode 100644 index 0000000..3fdaa87 --- /dev/null +++ b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties @@ -0,0 +1,31 @@ +info.school.name=luv2code +info.app.name=My Super Cool Gradebook +info.app.description=a fun way to track student grades! +info.app.version=1.0.0 + +## Server Properties +server.port= 1500 + +## H2 Test Database creds +spring.datasource.url=jdbc:h2:mem:testdb +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password=password +spring.datasource.initialization-mode=always +spring.jpa.database-platform=org.hibernate.dialect.H2Dialect +spring.h2.console.enabled=true +spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.show-sql = true + +## SQL Scripts + +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) + +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties deleted file mode 100644 index 0a10e58..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-33-solution-delete-a-valid-grade-http-request/src/main/resources/application.properties +++ /dev/null @@ -1,31 +0,0 @@ -info.school.name=luv2code -info.app.name=My Super Cool Gradebook -info.app.description=a fun way to track student grades! -info.app.version=1.0.0 - -## Server Properties -server.port= 1500 - -## H2 Test Database creds -spring.datasource.url=jdbc:h2:mem:testdb -spring.datasource.driverClassName=org.h2.Driver -spring.datasource.username=sa -spring.datasource.password=password -spring.datasource.initialization-mode=always -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect -spring.h2.console.enabled=true -spring.jpa.hibernate.ddl-auto=create-drop -spring.jpa.show-sql = true - -## SQL Scripts - -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) - -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/HELP.md diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/mvnw diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/pom.xml diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties new file mode 100644 index 0000000..3fdaa87 --- /dev/null +++ b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties @@ -0,0 +1,31 @@ +info.school.name=luv2code +info.app.name=My Super Cool Gradebook +info.app.description=a fun way to track student grades! +info.app.version=1.0.0 + +## Server Properties +server.port= 1500 + +## H2 Test Database creds +spring.datasource.url=jdbc:h2:mem:testdb +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password=password +spring.datasource.initialization-mode=always +spring.jpa.database-platform=org.hibernate.dialect.H2Dialect +spring.h2.console.enabled=true +spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.show-sql = true + +## SQL Scripts + +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) + +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-non-valid-grade-http-request/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties deleted file mode 100644 index 0a10e58..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-34-solution-delete-a-valid-grade-http-request-grade-id-does-not-exist/src/main/resources/application.properties +++ /dev/null @@ -1,31 +0,0 @@ -info.school.name=luv2code -info.app.name=My Super Cool Gradebook -info.app.description=a fun way to track student grades! -info.app.version=1.0.0 - -## Server Properties -server.port= 1500 - -## H2 Test Database creds -spring.datasource.url=jdbc:h2:mem:testdb -spring.datasource.driverClassName=org.h2.Driver -spring.datasource.username=sa -spring.datasource.password=password -spring.datasource.initialization-mode=always -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect -spring.h2.console.enabled=true -spring.jpa.hibernate.ddl-auto=create-drop -spring.jpa.show-sql = true - -## SQL Scripts - -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) - -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties deleted file mode 100644 index 0a10e58..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-delete-a-non-valid-grade-http-request/src/main/resources/application.properties +++ /dev/null @@ -1,31 +0,0 @@ -info.school.name=luv2code -info.app.name=My Super Cool Gradebook -info.app.description=a fun way to track student grades! -info.app.version=1.0.0 - -## Server Properties -server.port= 1500 - -## H2 Test Database creds -spring.datasource.url=jdbc:h2:mem:testdb -spring.datasource.driverClassName=org.h2.Driver -spring.datasource.username=sa -spring.datasource.password=password -spring.datasource.initialization-mode=always -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect -spring.h2.console.enabled=true -spring.jpa.hibernate.ddl-auto=create-drop -spring.jpa.show-sql = true - -## SQL Scripts - -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) - -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/HELP.md diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/pom.xml diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties new file mode 100644 index 0000000..3fdaa87 --- /dev/null +++ b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties @@ -0,0 +1,31 @@ +info.school.name=luv2code +info.app.name=My Super Cool Gradebook +info.app.description=a fun way to track student grades! +info.app.version=1.0.0 + +## Server Properties +server.port= 1500 + +## H2 Test Database creds +spring.datasource.url=jdbc:h2:mem:testdb +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password=password +spring.datasource.initialization-mode=always +spring.jpa.database-platform=org.hibernate.dialect.H2Dialect +spring.h2.console.enabled=true +spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.show-sql = true + +## SQL Scripts + +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) + +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-35-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/HELP.md diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/mvnw diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/pom.xml diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/application-test.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/application-test.properties new file mode 100644 index 0000000..3fdaa87 --- /dev/null +++ b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/application-test.properties @@ -0,0 +1,31 @@ +info.school.name=luv2code +info.app.name=My Super Cool Gradebook +info.app.description=a fun way to track student grades! +info.app.version=1.0.0 + +## Server Properties +server.port= 1500 + +## H2 Test Database creds +spring.datasource.url=jdbc:h2:mem:testdb +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password=password +spring.datasource.initialization-mode=always +spring.jpa.database-platform=org.hibernate.dialect.H2Dialect +spring.h2.console.enabled=true +spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.show-sql = true + +## SQL Scripts + +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) + +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/application.properties new file mode 100644 index 0000000..3fdaa87 --- /dev/null +++ b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/application.properties @@ -0,0 +1,31 @@ +info.school.name=luv2code +info.app.name=My Super Cool Gradebook +info.app.description=a fun way to track student grades! +info.app.version=1.0.0 + +## Server Properties +server.port= 1500 + +## H2 Test Database creds +spring.datasource.url=jdbc:h2:mem:testdb +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password=password +spring.datasource.initialization-mode=always +spring.jpa.database-platform=org.hibernate.dialect.H2Dialect +spring.h2.console.enabled=true +spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.show-sql = true + +## SQL Scripts + +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) + +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-create-application-test-properties-file/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties deleted file mode 100644 index 0a10e58..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-36-solution-update-student-information-thymeleaf-template-to-use-dynamic-data/src/main/resources/application.properties +++ /dev/null @@ -1,31 +0,0 @@ -info.school.name=luv2code -info.app.name=My Super Cool Gradebook -info.app.description=a fun way to track student grades! -info.app.version=1.0.0 - -## Server Properties -server.port= 1500 - -## H2 Test Database creds -spring.datasource.url=jdbc:h2:mem:testdb -spring.datasource.driverClassName=org.h2.Driver -spring.datasource.username=sa -spring.datasource.password=password -spring.datasource.initialization-mode=always -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect -spring.h2.console.enabled=true -spring.jpa.hibernate.ddl-auto=create-drop -spring.jpa.show-sql = true - -## SQL Scripts - -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) - -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application-test.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application-test.properties deleted file mode 100644 index 0a10e58..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application-test.properties +++ /dev/null @@ -1,31 +0,0 @@ -info.school.name=luv2code -info.app.name=My Super Cool Gradebook -info.app.description=a fun way to track student grades! -info.app.version=1.0.0 - -## Server Properties -server.port= 1500 - -## H2 Test Database creds -spring.datasource.url=jdbc:h2:mem:testdb -spring.datasource.driverClassName=org.h2.Driver -spring.datasource.username=sa -spring.datasource.password=password -spring.datasource.initialization-mode=always -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect -spring.h2.console.enabled=true -spring.jpa.hibernate.ddl-auto=create-drop -spring.jpa.show-sql = true - -## SQL Scripts - -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) - -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application.properties deleted file mode 100644 index 0a10e58..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-create-application-test-properties-file/src/main/resources/application.properties +++ /dev/null @@ -1,31 +0,0 @@ -info.school.name=luv2code -info.app.name=My Super Cool Gradebook -info.app.description=a fun way to track student grades! -info.app.version=1.0.0 - -## Server Properties -server.port= 1500 - -## H2 Test Database creds -spring.datasource.url=jdbc:h2:mem:testdb -spring.datasource.driverClassName=org.h2.Driver -spring.datasource.username=sa -spring.datasource.password=password -spring.datasource.initialization-mode=always -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect -spring.h2.console.enabled=true -spring.jpa.hibernate.ddl-auto=create-drop -spring.jpa.show-sql = true - -## SQL Scripts - -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) - -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/HELP.md similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/HELP.md rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/HELP.md diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/mvnw similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/mvnw rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/mvnw diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/mvnw.cmd similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/mvnw.cmd rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/mvnw.cmd diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/pom.xml b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/pom.xml similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/pom.xml rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/pom.xml diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Student.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties new file mode 100644 index 0000000..3fdaa87 --- /dev/null +++ b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties @@ -0,0 +1,31 @@ +info.school.name=luv2code +info.app.name=My Super Cool Gradebook +info.app.description=a fun way to track student grades! +info.app.version=1.0.0 + +## Server Properties +server.port= 1500 + +## H2 Test Database creds +spring.datasource.url=jdbc:h2:mem:testdb +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password=password +spring.datasource.initialization-mode=always +spring.jpa.database-platform=org.hibernate.dialect.H2Dialect +spring.h2.console.enabled=true +spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.show-sql = true + +## SQL Scripts + +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) + +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/application.properties similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application.properties rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/application.properties diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/insertData.sql similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/insertData.sql rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/insertData.sql diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/js/main.js similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/js/main.js rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/js/main.js diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/main.css similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/main.css rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/static/cssandjs/main.css diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/templates/error.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/error.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/templates/error.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/templates/index.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/index.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/templates/index.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/templates/studentInformation.html similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/templates/studentInformation.html rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/main/resources/templates/studentInformation.html diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-37-solution-update-app-to-connect-to-mysql/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties deleted file mode 100644 index 0a10e58..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-38-solution-update-app-to-connect-to-mysql/src/main/resources/application-test.properties +++ /dev/null @@ -1,31 +0,0 @@ -info.school.name=luv2code -info.app.name=My Super Cool Gradebook -info.app.description=a fun way to track student grades! -info.app.version=1.0.0 - -## Server Properties -server.port= 1500 - -## H2 Test Database creds -spring.datasource.url=jdbc:h2:mem:testdb -spring.datasource.driverClassName=org.h2.Driver -spring.datasource.username=sa -spring.datasource.password=password -spring.datasource.initialization-mode=always -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect -spring.h2.console.enabled=true -spring.jpa.hibernate.ddl-auto=create-drop -spring.jpa.show-sql = true - -## SQL Scripts - -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) - -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/HELP.md b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/HELP.md deleted file mode 100644 index 36f8e00..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/HELP.md +++ /dev/null @@ -1,20 +0,0 @@ -# Getting Started - -### Reference Documentation -For further reference, please consider the following sections: - -* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html) -* [Spring Boot DevTools](https://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#using-boot-devtools) -* [Spring Boot Actuator](https://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#production-ready) -* [Thymeleaf](https://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-spring-mvc-template-engines) -* [Spring Web Starter](https://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-developing-web-applications) - -### Guides -The following guides illustrate how to use some features concretely: - -* [Building a RESTful Web Service with Spring Boot Actuator](https://spring.io/guides/gs/actuator-service/) -* [Handling Form Submission](https://spring.io/guides/gs/handling-form-submission/) -* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/) -* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/) -* [Building REST services with Spring](https://spring.io/guides/tutorials/bookmarks/) - diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw deleted file mode 100644 index 8b9da3b..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw +++ /dev/null @@ -1,286 +0,0 @@ -#!/bin/sh -# ---------------------------------------------------------------------------- -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# ---------------------------------------------------------------------------- - -# ---------------------------------------------------------------------------- -# Maven2 Start Up Batch script -# -# Required ENV vars: -# ------------------ -# JAVA_HOME - location of a JDK home dir -# -# Optional ENV vars -# ----------------- -# M2_HOME - location of maven2's installed home dir -# MAVEN_OPTS - parameters passed to the Java VM when running Maven -# e.g. to debug Maven itself, use -# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -# MAVEN_SKIP_RC - flag to disable loading of mavenrc files -# ---------------------------------------------------------------------------- - -if [ -z "$MAVEN_SKIP_RC" ] ; then - - if [ -f /etc/mavenrc ] ; then - . /etc/mavenrc - fi - - if [ -f "$HOME/.mavenrc" ] ; then - . "$HOME/.mavenrc" - fi - -fi - -# OS specific support. $var _must_ be set to either true or false. -cygwin=false; -darwin=false; -mingw=false -case "`uname`" in - CYGWIN*) cygwin=true ;; - MINGW*) mingw=true;; - Darwin*) darwin=true - # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home - # See https://developer.apple.com/library/mac/qa/qa1170/_index.html - if [ -z "$JAVA_HOME" ]; then - if [ -x "/usr/libexec/java_home" ]; then - export JAVA_HOME="`/usr/libexec/java_home`" - else - export JAVA_HOME="/Library/Java/Home" - fi - fi - ;; -esac - -if [ -z "$JAVA_HOME" ] ; then - if [ -r /etc/gentoo-release ] ; then - JAVA_HOME=`java-config --jre-home` - fi -fi - -if [ -z "$M2_HOME" ] ; then - ## resolve links - $0 may be a link to maven's home - PRG="$0" - - # need this for relative symlinks - while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG="`dirname "$PRG"`/$link" - fi - done - - saveddir=`pwd` - - M2_HOME=`dirname "$PRG"`/.. - - # make it fully qualified - M2_HOME=`cd "$M2_HOME" && pwd` - - cd "$saveddir" - # echo Using m2 at $M2_HOME -fi - -# For Cygwin, ensure paths are in UNIX format before anything is touched -if $cygwin ; then - [ -n "$M2_HOME" ] && - M2_HOME=`cygpath --unix "$M2_HOME"` - [ -n "$JAVA_HOME" ] && - JAVA_HOME=`cygpath --unix "$JAVA_HOME"` - [ -n "$CLASSPATH" ] && - CLASSPATH=`cygpath --path --unix "$CLASSPATH"` -fi - -# For Mingw, ensure paths are in UNIX format before anything is touched -if $mingw ; then - [ -n "$M2_HOME" ] && - M2_HOME="`(cd "$M2_HOME"; pwd)`" - [ -n "$JAVA_HOME" ] && - JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" - # TODO classpath? -fi - -if [ -z "$JAVA_HOME" ]; then - javaExecutable="`which javac`" - if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then - # readlink(1) is not available as standard on Solaris 10. - readLink=`which readlink` - if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then - if $darwin ; then - javaHome="`dirname \"$javaExecutable\"`" - javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" - else - javaExecutable="`readlink -f \"$javaExecutable\"`" - fi - javaHome="`dirname \"$javaExecutable\"`" - javaHome=`expr "$javaHome" : '\(.*\)/bin'` - JAVA_HOME="$javaHome" - export JAVA_HOME - fi - fi -fi - -if [ -z "$JAVACMD" ] ; then - if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - else - JAVACMD="`which java`" - fi -fi - -if [ ! -x "$JAVACMD" ] ; then - echo "Error: JAVA_HOME is not defined correctly." >&2 - echo " We cannot execute $JAVACMD" >&2 - exit 1 -fi - -if [ -z "$JAVA_HOME" ] ; then - echo "Warning: JAVA_HOME environment variable is not set." -fi - -CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher - -# traverses directory structure from process work directory to filesystem root -# first directory with .mvn subdirectory is considered project base directory -find_maven_basedir() { - - if [ -z "$1" ] - then - echo "Path not specified to find_maven_basedir" - return 1 - fi - - basedir="$1" - wdir="$1" - while [ "$wdir" != '/' ] ; do - if [ -d "$wdir"/.mvn ] ; then - basedir=$wdir - break - fi - # workaround for JBEAP-8937 (on Solaris 10/Sparc) - if [ -d "${wdir}" ]; then - wdir=`cd "$wdir/.."; pwd` - fi - # end of workaround - done - echo "${basedir}" -} - -# concatenates all lines of a file -concat_lines() { - if [ -f "$1" ]; then - echo "$(tr -s '\n' ' ' < "$1")" - fi -} - -BASE_DIR=`find_maven_basedir "$(pwd)"` -if [ -z "$BASE_DIR" ]; then - exit 1; -fi - -########################################################################################## -# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central -# This allows using the maven wrapper in projects that prohibit checking in binary data. -########################################################################################## -if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then - if [ "$MVNW_VERBOSE" = true ]; then - echo "Found .mvn/wrapper/maven-wrapper.jar" - fi -else - if [ "$MVNW_VERBOSE" = true ]; then - echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." - fi - jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar" - while IFS="=" read key value; do - case "$key" in (wrapperUrl) jarUrl="$value"; break ;; - esac - done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" - if [ "$MVNW_VERBOSE" = true ]; then - echo "Downloading from: $jarUrl" - fi - wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" - - if command -v wget > /dev/null; then - if [ "$MVNW_VERBOSE" = true ]; then - echo "Found wget ... using wget" - fi - wget "$jarUrl" -O "$wrapperJarPath" - elif command -v curl > /dev/null; then - if [ "$MVNW_VERBOSE" = true ]; then - echo "Found curl ... using curl" - fi - curl -o "$wrapperJarPath" "$jarUrl" - else - if [ "$MVNW_VERBOSE" = true ]; then - echo "Falling back to using Java to download" - fi - javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" - if [ -e "$javaClass" ]; then - if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then - if [ "$MVNW_VERBOSE" = true ]; then - echo " - Compiling MavenWrapperDownloader.java ..." - fi - # Compiling the Java class - ("$JAVA_HOME/bin/javac" "$javaClass") - fi - if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then - # Running the downloader - if [ "$MVNW_VERBOSE" = true ]; then - echo " - Running MavenWrapperDownloader.java ..." - fi - ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") - fi - fi - fi -fi -########################################################################################## -# End of extension -########################################################################################## - -export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} -if [ "$MVNW_VERBOSE" = true ]; then - echo $MAVEN_PROJECTBASEDIR -fi -MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" - -# For Cygwin, switch paths to Windows format before running java -if $cygwin; then - [ -n "$M2_HOME" ] && - M2_HOME=`cygpath --path --windows "$M2_HOME"` - [ -n "$JAVA_HOME" ] && - JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` - [ -n "$CLASSPATH" ] && - CLASSPATH=`cygpath --path --windows "$CLASSPATH"` - [ -n "$MAVEN_PROJECTBASEDIR" ] && - MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` -fi - -WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain - -exec "$JAVACMD" \ - $MAVEN_OPTS \ - -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ - "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ - ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw.cmd b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw.cmd deleted file mode 100644 index fef5a8f..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/mvnw.cmd +++ /dev/null @@ -1,161 +0,0 @@ -@REM ---------------------------------------------------------------------------- -@REM Licensed to the Apache Software Foundation (ASF) under one -@REM or more contributor license agreements. See the NOTICE file -@REM distributed with this work for additional information -@REM regarding copyright ownership. The ASF licenses this file -@REM to you under the Apache License, Version 2.0 (the -@REM "License"); you may not use this file except in compliance -@REM with the License. You may obtain a copy of the License at -@REM -@REM https://www.apache.org/licenses/LICENSE-2.0 -@REM -@REM Unless required by applicable law or agreed to in writing, -@REM software distributed under the License is distributed on an -@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -@REM KIND, either express or implied. See the License for the -@REM specific language governing permissions and limitations -@REM under the License. -@REM ---------------------------------------------------------------------------- - -@REM ---------------------------------------------------------------------------- -@REM Maven2 Start Up Batch script -@REM -@REM Required ENV vars: -@REM JAVA_HOME - location of a JDK home dir -@REM -@REM Optional ENV vars -@REM M2_HOME - location of maven2's installed home dir -@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands -@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending -@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven -@REM e.g. to debug Maven itself, use -@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files -@REM ---------------------------------------------------------------------------- - -@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' -@echo off -@REM set title of command window -title %0 -@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on' -@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% - -@REM set %HOME% to equivalent of $HOME -if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") - -@REM Execute a user defined script before this one -if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre -@REM check for pre script, once with legacy .bat ending and once with .cmd ending -if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" -if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" -:skipRcPre - -@setlocal - -set ERROR_CODE=0 - -@REM To isolate internal variables from possible post scripts, we use another setlocal -@setlocal - -@REM ==== START VALIDATION ==== -if not "%JAVA_HOME%" == "" goto OkJHome - -echo. -echo Error: JAVA_HOME not found in your environment. >&2 -echo Please set the JAVA_HOME variable in your environment to match the >&2 -echo location of your Java installation. >&2 -echo. -goto error - -:OkJHome -if exist "%JAVA_HOME%\bin\java.exe" goto init - -echo. -echo Error: JAVA_HOME is set to an invalid directory. >&2 -echo JAVA_HOME = "%JAVA_HOME%" >&2 -echo Please set the JAVA_HOME variable in your environment to match the >&2 -echo location of your Java installation. >&2 -echo. -goto error - -@REM ==== END VALIDATION ==== - -:init - -@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". -@REM Fallback to current working directory if not found. - -set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% -IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir - -set EXEC_DIR=%CD% -set WDIR=%EXEC_DIR% -:findBaseDir -IF EXIST "%WDIR%"\.mvn goto baseDirFound -cd .. -IF "%WDIR%"=="%CD%" goto baseDirNotFound -set WDIR=%CD% -goto findBaseDir - -:baseDirFound -set MAVEN_PROJECTBASEDIR=%WDIR% -cd "%EXEC_DIR%" -goto endDetectBaseDir - -:baseDirNotFound -set MAVEN_PROJECTBASEDIR=%EXEC_DIR% -cd "%EXEC_DIR%" - -:endDetectBaseDir - -IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig - -@setlocal EnableExtensions EnableDelayedExpansion -for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a -@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% - -:endReadAdditionalConfig - -SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" -set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" -set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain - -set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar" -FOR /F "tokens=1,2 delims==" %%A IN (%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties) DO ( - IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B -) - -@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central -@REM This allows using the maven wrapper in projects that prohibit checking in binary data. -if exist %WRAPPER_JAR% ( - echo Found %WRAPPER_JAR% -) else ( - echo Couldn't find %WRAPPER_JAR%, downloading it ... - echo Downloading from: %DOWNLOAD_URL% - powershell -Command "(New-Object Net.WebClient).DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')" - echo Finished downloading %WRAPPER_JAR% -) -@REM End of extension - -%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* -if ERRORLEVEL 1 goto error -goto end - -:error -set ERROR_CODE=1 - -:end -@endlocal & set ERROR_CODE=%ERROR_CODE% - -if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost -@REM check for post script, once with legacy .bat ending and once with .cmd ending -if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" -if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" -:skipRcPost - -@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' -if "%MAVEN_BATCH_PAUSE%" == "on" pause - -if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% - -exit /B %ERROR_CODE% diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java deleted file mode 100644 index f4a7fcb..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java +++ /dev/null @@ -1,54 +0,0 @@ -package com.luv2code.springmvc; - -import com.luv2code.springmvc.controller.GradebookController; -import com.luv2code.springmvc.models.*; -import com.luv2code.springmvc.service.StudentAndGradeService; -import org.springframework.beans.factory.annotation.Qualifier; -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Scope; - -import java.util.List; - -@SpringBootApplication -public class MvcTestingExampleApplication { - - public static void main(String[] args) { - SpringApplication.run(MvcTestingExampleApplication.class, args); - } - - @Bean - @Scope(value = "prototype") - CollegeStudent getCollegeStudent() { - return new CollegeStudent(); - } - - @Bean - @Scope(value = "prototype") - Grade getMathGrade(double grade) { - return new MathGrade(grade); - } - - @Bean - @Scope(value = "prototype") - @Qualifier("mathGrades") - MathGrade getGrade() { - return new MathGrade(); - } - - @Bean - @Scope(value = "prototype") - @Qualifier("scienceGrades") - ScienceGrade getScienceGrade() { - return new ScienceGrade(); - } - - @Bean - @Scope(value = "prototype") - @Qualifier("historyGrades") - HistoryGrade getHistoryGrade() { - return new HistoryGrade(); - } - -} diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/controller/GradebookController.java deleted file mode 100644 index 3563b26..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/controller/GradebookController.java +++ /dev/null @@ -1,99 +0,0 @@ -package com.luv2code.springmvc.controller; - -import com.luv2code.springmvc.models.*; -import com.luv2code.springmvc.service.StudentAndGradeService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Controller; -import org.springframework.ui.Model; -import org.springframework.web.bind.annotation.*; - -@Controller -public class GradebookController { - - @Autowired - private StudentAndGradeService studentService; - - @Autowired - private Gradebook gradebook; - - - @RequestMapping(value = "/", method = RequestMethod.GET) - public String getStudents(Model m) { - gradebook = studentService.getGradebook(); - m.addAttribute("students", gradebook.getStudents()); - return "index"; - } - - - @GetMapping("/studentInformation/{id}") - public String studentInformation(@PathVariable int id, Model m) { - - if (!studentService.checkIfStudentIsNull(id)) { - return "error"; - } - - studentService.configureStudentInformationModel(id, m); - - return "studentInformation"; - } - - - @PostMapping(value = "/") - public String createStudent(@ModelAttribute("student") CollegeStudent student, - Model m) { - - studentService.createStudent(student.getFirstname(), student.getLastname(), student.getEmailAddress()); - gradebook = studentService.getGradebook(); - m.addAttribute("students", gradebook.getStudents()); - return "index"; - } - - - @GetMapping("/delete/student/{id}") - public String deleteStudent(@PathVariable int id, Model m) { - - if (!studentService.checkIfStudentIsNull(id)) { - return "error"; - } - - studentService.deleteStudent(id); - gradebook = studentService.getGradebook(); - m.addAttribute("students", gradebook.getStudents()); - return "index"; - } - - - @PostMapping(value = "/grades") - public String createGrade(@RequestParam("grade") double grade, - @RequestParam("gradeType") String gradeType, - @RequestParam("studentId") int studentId, - Model m) { - - if (!studentService.checkIfStudentIsNull(studentId)) { - return "error"; - } - - boolean success = studentService.createGrade(grade, studentId, gradeType); - - if (!success) { - return "error"; - } - - studentService.configureStudentInformationModel(studentId, m); - - return "studentInformation"; - } - - @GetMapping("/grades/{id}/{gradeType}") - public String deleteGrade(@PathVariable int id, @PathVariable String gradeType, Model m) { - - int studentId = studentService.deleteGrade(id, gradeType); - - if (studentId == 0) { - return "error"; - } - - studentService.configureStudentInformationModel(studentId, m); - return "studentInformation"; - } -} diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java deleted file mode 100644 index ff62e5f..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.luv2code.springmvc.models; - -import jakarta.persistence.*; - -@Entity -@Table(name = "student") -public class CollegeStudent implements Student { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column - private String firstname; - @Column - private String lastname; - @Column(name="email_address") - private String emailAddress; - - public CollegeStudent() { - - } - - public CollegeStudent(String firstname, String lastname, String emailAddress) { - this.firstname = firstname; - this.lastname = lastname; - this.emailAddress = emailAddress; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public String getFirstname() { - return firstname; - } - - public void setFirstname(String firstname) { - this.firstname = firstname; - } - - public String getLastname() { - return lastname; - } - - public void setLastname(String lastname) { - this.lastname = lastname; - } - - public String getEmailAddress() { - return emailAddress; - } - - public void setEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - } - - - public String getFullName() { - return getFirstname() + " " + getLastname(); - } - - @Override - public String toString() { - return "CollegeStudent{" + - "id=" + id + - ", firstname='" + firstname + '\'' + - ", lastname='" + lastname + '\'' + - ", emailAddress='" + emailAddress + '\'' + - '}'; - } - - public String studentInformation() { - return getFullName() + " " + getEmailAddress(); - } -} diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Grade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Grade.java deleted file mode 100644 index 0caa5bc..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Grade.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.luv2code.springmvc.models; - -public interface Grade { - double getGrade(); - - int getId(); - - void setId(int id); - - int getStudentId(); - - void setStudentId(int studentId); - - void setGrade(double grade); -} diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Gradebook.java deleted file mode 100644 index 0ac851a..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Gradebook.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.luv2code.springmvc.models; - -import org.springframework.stereotype.Component; - -import java.util.ArrayList; -import java.util.List; - -@Component -public class Gradebook { - - private List students = new ArrayList<>(); - - public Gradebook() { - - } - public Gradebook(List students) { - this.students = students; - } - - public List getStudents() { - return students; - } - - public void setStudents(List students) { - this.students = students; - } -} diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java deleted file mode 100644 index c49cb83..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.luv2code.springmvc.models; - -public class GradebookCollegeStudent extends CollegeStudent{ - - private int id; - - private StudentGrades studentGrades; - - public GradebookCollegeStudent(String firstname, String lastname, String emailAddress) { - super(firstname, lastname, emailAddress); - } - - public GradebookCollegeStudent(int id, String firstname, String lastname, String emailAddress, StudentGrades studentGrades) { - super(firstname, lastname, emailAddress); - this.studentGrades = studentGrades; - this.id = id; - } - - public StudentGrades getStudentGrades() { - return studentGrades; - } - - public void setStudentGrades(StudentGrades studentGrades) { - this.studentGrades = studentGrades; - } - - @Override - public int getId() { - return id; - } - - @Override - public void setId(int id) { - this.id = id; - } -} diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java deleted file mode 100644 index 07c5cb4..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import jakarta.persistence.*; - -@Entity -@Table(name = "history_grade") -public class HistoryGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public HistoryGrade() { - - } - - public HistoryGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/MathGrade.java deleted file mode 100644 index 254a13f..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/MathGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import jakarta.persistence.*; - -@Entity -@Table(name = "math_grade") -public class MathGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public MathGrade() { - - } - - public MathGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java deleted file mode 100644 index d2d7b98..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.luv2code.springmvc.models; - -import jakarta.persistence.*; - -@Entity -@Table(name = "science_grade") -public class ScienceGrade implements Grade { - @Id - @GeneratedValue(strategy= GenerationType.IDENTITY) - private int id; - @Column(name="student_id") - private int studentId; - @Column(name="grade") - private double grade; - - public ScienceGrade() { - - } - - public ScienceGrade(double grade) { - this.grade = grade; - } - - public int getId() { - return id; - } - - public void setId(int id) { - this.id = id; - } - - public int getStudentId() { - return studentId; - } - - public void setStudentId(int studentId) { - this.studentId = studentId; - } - - @Override - public double getGrade() { - return grade; - } - - public void setGrade(double grade) { - this.grade = grade; - } -} diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Student.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Student.java deleted file mode 100644 index 5967347..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/Student.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.luv2code.springmvc.models; - -public interface Student { - - String studentInformation(); - - String getFullName(); - -} diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/StudentGrades.java deleted file mode 100644 index 5ba530f..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/models/StudentGrades.java +++ /dev/null @@ -1,70 +0,0 @@ -package com.luv2code.springmvc.models; - -import org.springframework.stereotype.Component; - -import java.math.BigDecimal; -import java.math.RoundingMode; -import java.util.List; - -@Component -public class StudentGrades { - - private List mathGradeResults; - - private List scienceGradeResults; - - private List historyGradeResults; - - public StudentGrades() {} - - public double addGradeResultsForSingleClass(List grades) { - double result = 0; - for (Grade i : grades) { - result += i.getGrade(); - } - return result; - } - - public double findGradePointAverage (List grades ) { - int lengthOfGrades = grades.size(); - double sum = addGradeResultsForSingleClass(grades); - double result = sum / lengthOfGrades; - - // add a round function - BigDecimal resultRound = BigDecimal.valueOf(result); - resultRound = resultRound.setScale(2, RoundingMode.HALF_UP); - return resultRound.doubleValue(); - - } - - public List getMathGradeResults() { - return mathGradeResults; - } - - public void setMathGradeResults(List mathGradeResults) { - this.mathGradeResults = mathGradeResults; - } - - public List getScienceGradeResults() { - return scienceGradeResults; - } - - public void setScienceGradeResults(List scienceGradeResults) { - this.scienceGradeResults = scienceGradeResults; - } - - public List getHistoryGradeResults() { - return historyGradeResults; - } - - public void setHistoryGradeResults(List historyGradeResults) { - this.historyGradeResults = historyGradeResults; - } - - @Override - public String toString() { - return "StudentGrades{" + - "mathGradeResults=" + mathGradeResults + - '}'; - } -} diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java deleted file mode 100644 index cea5c44..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.luv2code.springmvc.repository; - -import com.luv2code.springmvc.models.HistoryGrade; -import org.springframework.data.repository.CrudRepository; -import org.springframework.stereotype.Repository; - -@Repository -public interface HistoryGradesDao extends CrudRepository { - - public Iterable findGradeByStudentId (int id); - - public void deleteByStudentId(int id); -} diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java deleted file mode 100644 index ce65814..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.luv2code.springmvc.repository; - -import com.luv2code.springmvc.models.MathGrade; -import org.springframework.data.repository.CrudRepository; -import org.springframework.stereotype.Repository; - -@Repository -public interface MathGradesDao extends CrudRepository { - - public Iterable findGradeByStudentId (int id); - - public void deleteByStudentId(int id); -} diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java deleted file mode 100644 index 6f50b38..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.luv2code.springmvc.repository; - -import com.luv2code.springmvc.models.ScienceGrade; -import org.springframework.data.repository.CrudRepository; -import org.springframework.stereotype.Repository; - -@Repository -public interface ScienceGradesDao extends CrudRepository { - - public Iterable findGradeByStudentId (int id); - - public void deleteByStudentId(int id); -} diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/StudentDao.java deleted file mode 100644 index fe06d06..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/repository/StudentDao.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.luv2code.springmvc.repository; - -import com.luv2code.springmvc.models.CollegeStudent; -import org.springframework.data.repository.CrudRepository; -import org.springframework.stereotype.Repository; - -@Repository -public interface StudentDao extends CrudRepository { - - public CollegeStudent findByEmailAddress(String emailAddress); -} diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java deleted file mode 100644 index 7940493..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java +++ /dev/null @@ -1,259 +0,0 @@ -package com.luv2code.springmvc.service; - -import com.luv2code.springmvc.models.*; -import com.luv2code.springmvc.repository.HistoryGradesDao; -import com.luv2code.springmvc.repository.MathGradesDao; -import com.luv2code.springmvc.repository.ScienceGradesDao; -import com.luv2code.springmvc.repository.StudentDao; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Qualifier; -import org.springframework.stereotype.Service; - -import org.springframework.transaction.annotation.Transactional; -import org.springframework.ui.Model; - -import java.util.ArrayList; -import java.util.List; -import java.util.Optional; - -@Service -@Transactional -public class StudentAndGradeService { - - @Autowired - private StudentDao studentDao; - - @Autowired - private MathGradesDao mathGradeDao; - - @Autowired - private ScienceGradesDao scienceGradeDao; - - @Autowired - private HistoryGradesDao historyGradeDao; - - @Autowired - @Qualifier("mathGrades") - private MathGrade mathGrade; - - @Autowired - @Qualifier("scienceGrades") - private ScienceGrade scienceGrade; - - @Autowired - @Qualifier("historyGrades") - private HistoryGrade historyGrade; - - @Autowired - StudentGrades studentGrades; - - public void createStudent(String firstname, String lastname, String emailAddress){ - - CollegeStudent student = new CollegeStudent(firstname, lastname, emailAddress); - - student.setId(0); - - studentDao.save(student); - } - - public void deleteStudent(int id){ - if (checkIfStudentIsNull(id)) { - studentDao.deleteById(id); - mathGradeDao.deleteByStudentId(id); - scienceGradeDao.deleteByStudentId(id); - historyGradeDao.deleteByStudentId(id); - } - } - - public boolean checkIfStudentIsNull(int id){ - Optional student = studentDao.findById(id); - if (student.isPresent()) { - return true; - } - return false; - } - - public GradebookCollegeStudent studentInformation(int id) { - Optional student = studentDao.findById(id); - - Iterable mathGrades = mathGradeDao.findGradeByStudentId(id); - - Iterable scienceGrades = scienceGradeDao.findGradeByStudentId(id); - - Iterable historyGrades = historyGradeDao.findGradeByStudentId(id); - - List mathGradesList = new ArrayList<>(); - mathGrades.forEach(mathGradesList::add); - - List scienceGradesList = new ArrayList<>(); - scienceGrades.forEach(scienceGradesList::add); - - List historyGradesList = new ArrayList<>(); - historyGrades.forEach(historyGradesList::add); - - - studentGrades.setMathGradeResults(mathGradesList); - studentGrades.setScienceGradeResults(scienceGradesList); - studentGrades.setHistoryGradeResults(historyGradesList); - - GradebookCollegeStudent gradebookCollegeStudent = new GradebookCollegeStudent(student.get().getId(), student.get().getFirstname(), student.get().getLastname(), - student.get().getEmailAddress(), studentGrades); - - return gradebookCollegeStudent; - } - - public boolean checkIfGradeIsNull(int id, String gradeType){ - if (gradeType.equals("math")) { - Optional grade = mathGradeDao.findById(id); - if (grade.isPresent()) { - return true; - } - } - if (gradeType.equals("science")) { - Optional grade = scienceGradeDao.findById(id); - if (grade.isPresent()) { - return true; - } - } - if (gradeType.equals("history")) { - Optional grade = historyGradeDao.findById(id); - if (grade.isPresent()) { - return true; - } - } - - return false; - } - - public int deleteGrade(int id, String gradeType) { - - int studentId = 0; - - if (gradeType.equals("math")) { - Optional grade = mathGradeDao.findById(id); - if (!grade.isPresent()) { - return studentId; - } - studentId = grade.get().getStudentId(); - mathGradeDao.deleteById(id); - } - - if (gradeType.equals("science")) { - Optional grade = scienceGradeDao.findById(id); - if (!grade.isPresent()) { - return studentId; - } - studentId = grade.get().getStudentId(); - scienceGradeDao.deleteById(id); - } - - if (gradeType.equals("history")) { - Optional grade = historyGradeDao.findById(id); - if (!grade.isPresent()) { - return studentId; - } - studentId = grade.get().getStudentId(); - historyGradeDao.deleteById(id); - } - - return studentId; - } - - public boolean createGrade(double grade, int studentId, String gradeType) { - if (grade >= 0 && grade <= 100) { - if (gradeType.equals("math")) { - mathGrade.setId(0); - mathGrade.setGrade(grade); - mathGrade.setStudentId(studentId); - mathGradeDao.save(mathGrade); - return true; - } - - if (gradeType.equals("science")) { - scienceGrade.setId(0); - scienceGrade.setGrade(grade); - scienceGrade.setStudentId(studentId); - scienceGradeDao.save(scienceGrade); - return true; - } - - if (gradeType.equals("history")) { - historyGrade.setId(0); - historyGrade.setGrade(grade); - historyGrade.setStudentId(studentId); - historyGradeDao.save(historyGrade); - return true; - } - } - return false; - } - - public Gradebook getGradebook () { - - Iterable collegeStudents = studentDao.findAll(); - - Iterable mathGrades = mathGradeDao.findAll(); - - Iterable scienceGrades = scienceGradeDao.findAll(); - - Iterable historyGrades = historyGradeDao.findAll(); - - Gradebook gradebook = new Gradebook(); - - for (CollegeStudent collegeStudent : collegeStudents) { - List mathGradesPerStudent = new ArrayList<>(); - List scienceGradesPerStudent = new ArrayList<>(); - List historyGradesPerStudent = new ArrayList<>(); - - for (MathGrade grade : mathGrades) { - if (grade.getStudentId() == collegeStudent.getId()) { - mathGradesPerStudent.add(grade); - } - } - for (ScienceGrade grade : scienceGrades) { - if (grade.getStudentId() == collegeStudent.getId()) { - scienceGradesPerStudent.add(grade); - } - } - - for (HistoryGrade grade : historyGrades) { - if (grade.getStudentId() == collegeStudent.getId()) { - historyGradesPerStudent.add(grade); - } - } - - studentGrades.setMathGradeResults(mathGradesPerStudent); - studentGrades.setScienceGradeResults(scienceGradesPerStudent); - studentGrades.setHistoryGradeResults(historyGradesPerStudent); - - GradebookCollegeStudent gradebookCollegeStudent = new GradebookCollegeStudent(collegeStudent.getId(), collegeStudent.getFirstname(), collegeStudent.getLastname(), - collegeStudent.getEmailAddress(), studentGrades); - - gradebook.getStudents().add(gradebookCollegeStudent); - } - - return gradebook; - } - - public void configureStudentInformationModel(int id, Model m) { - - GradebookCollegeStudent studentEntity = studentInformation(id); - - m.addAttribute("student", studentEntity); - if (studentEntity.getStudentGrades().getMathGradeResults().size() > 0) { - m.addAttribute("mathAverage", studentEntity.getStudentGrades().findGradePointAverage(studentEntity.getStudentGrades().getMathGradeResults())); - } else { - m.addAttribute("mathAverage", "N/A"); - } - if (studentEntity.getStudentGrades().getScienceGradeResults().size() > 0) { - m.addAttribute("scienceAverage", studentEntity.getStudentGrades().findGradePointAverage(studentEntity.getStudentGrades().getScienceGradeResults())); - } else { - m.addAttribute("scienceAverage", "N/A"); - } - if (studentEntity.getStudentGrades().getHistoryGradeResults().size() > 0) { - m.addAttribute("historyAverage", studentEntity.getStudentGrades().findGradePointAverage(studentEntity.getStudentGrades().getHistoryGradeResults())); - } else { - m.addAttribute("historyAverage", "N/A"); - } - } -} diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application-test.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application-test.properties deleted file mode 100644 index 66bad54..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application-test.properties +++ /dev/null @@ -1,25 +0,0 @@ -## H2 Test Database creds -spring.datasource.url=jdbc:h2:mem:testdb -spring.datasource.driverClassName=org.h2.Driver -spring.datasource.username=sa -spring.datasource.password=password -spring.datasource.initialization-mode=always -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect -spring.h2.console.enabled=true -spring.jpa.hibernate.ddl-auto=create-drop -spring.jpa.show-sql = true - - -## SQL Scripts - -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) - -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade - diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application.properties b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application.properties deleted file mode 100644 index 01b137b..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/application.properties +++ /dev/null @@ -1,20 +0,0 @@ -info.school.name=luv2code -info.app.name=My Super Cool Gradebook -info.app.description=a fun way to track student grades! -info.app.version=1.0.0 - -## Server Properties -server.port= 1500 - -## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties) -spring.datasource.url=jdbc:h2:mem:testdb -spring.datasource.driverClassName=org.h2.Driver -spring.datasource.username=sa -spring.datasource.password=password -spring.datasource.initialization-mode=always -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect -spring.h2.console.enabled=true -spring.jpa.hibernate.ddl-auto=update -spring.jpa.show-sql = true -# spring.jpa.hibernate.ddl-auto=create -# spring.jpa.hibernate.ddl-auto=none diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertData.sql deleted file mode 100644 index 370e606..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertData.sql +++ /dev/null @@ -1,4 +0,0 @@ -insert into student(id,firstname,lastname,email_address) values (11,'Student', 'One', 'student.one@luv2code_school.com') -insert into student(id,firstname,lastname,email_address) values (12,'Student', 'Two', 'student.two@luv2code_school.com') -insert into student(id,firstname,lastname,email_address) values (13,'Student', 'Three', 'student.three@luv2code_school.com') -insert into student(id,firstname,lastname,email_address) values (14,'Student', 'Four', 'student.four@luv2code)school.com') diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertGrade.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertGrade.sql deleted file mode 100644 index 0d771ad..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/insertGrade.sql +++ /dev/null @@ -1,36 +0,0 @@ -insert into math_grade(id,student_id,grade) values (11,11,100.00) -insert into math_grade(id,student_id,grade) values (12,11,95.00) - -insert into math_grade(id,student_id,grade) values (13,12,83.25) -insert into math_grade(id,student_id,grade) values (14,12,79.67) - -insert into math_grade(id,student_id,grade) values (15,13,81.80) -insert into math_grade(id,student_id,grade) values (16,13,100.00) - -insert into math_grade(id,student_id,grade) values (17,14,60.50) -insert into math_grade(id,student_id,grade) values (18,14,59.00) - -insert into science_grade(id,student_id,grade) values (11,11,100.00) -insert into science_grade(id,student_id,grade) values (12,11,95.00) - -insert into science_grade(id,student_id,grade) values (13,12,83.25) -insert into science_grade(id,student_id,grade) values (14,12,79.67) - -insert into science_grade(id,student_id,grade) values (15,13,81.80) -insert into science_grade(id,student_id,grade) values (16,13,100.00) - -insert into science_grade(id,student_id,grade) values (17,14,60.50) -insert into science_grade(id,student_id,grade) values (18,14,59.00) - -insert into history_grade(id,student_id,grade) values (11,11,100.00) -insert into history_grade(id,student_id,grade) values (12,11,95.00) - -insert into history_grade(id,student_id,grade) values (13,12,83.25) -insert into history_grade(id,student_id,grade) values (14,12,79.67) - -insert into history_grade(id,student_id,grade) values (15,13,81.80) -insert into history_grade(id,student_id,grade) values (16,13,100.00) - -insert into history_grade(id,student_id,grade) values (17,14,60.50) -insert into history_grade(id,student_id,grade) values (18,14,59.00) - diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/overRideData.sql b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/overRideData.sql deleted file mode 100644 index 21902a4..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/overRideData.sql +++ /dev/null @@ -1,3 +0,0 @@ -UPDATE student SET firstname = 'Eric' WHERE id = 11; -UPDATE student SET lastname = 'Roby' WHERE id = 11; - diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/js/main.js b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/js/main.js deleted file mode 100644 index 85b424b..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/js/main.js +++ /dev/null @@ -1,46 +0,0 @@ - function showOrHideGrade(gradeType) { - if (gradeType === "math") { - var x = document.getElementById("mathGrade"); - if (x.style.display === "none") { - x.style.display = "block"; - } else { - x.style.display = "none"; - } - } - if (gradeType === "science") { - var x = document.getElementById("scienceGrade"); - if (x.style.display === "none") { - x.style.display = "block"; - } else { - x.style.display = "none"; - } - } - if (gradeType === "history") { - var x = document.getElementById("historyGrade"); - if (x.style.display === "none") { - x.style.display = "block"; - } else { - x.style.display = "none"; - } - } - } - - function deleteStudent(id) { - window.location.href = "/delete/student/" + id; - } - - function deleteMathGrade(id) { - window.location.href = "/grades/" + id + "/" + "math"; - } - - function deleteScienceGrade(id) { - window.location.href = "/grades/" + id + "/" + "science"; - } - - function deleteHistoryGrade(id) { - window.location.href = "/grades/" + id + "/" + "history"; - } - - function studentInfo(id) { - window.location.href = "/studentInformation/" + id; - } \ No newline at end of file diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/main.css b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/main.css deleted file mode 100644 index 64da00a..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/static/cssandjs/main.css +++ /dev/null @@ -1,54 +0,0 @@ -.students { - font-family: Arial; - border-collapse: collapse; - width: 100%; - margin-top: 25px; -} - -.students td, .students th { - border: 1px solid #ddd; - padding: 8px; -} - -.students tr:nth-child(even){background-color: #f2f2f2;} - -.students tr:hover {background-color: #ddd;} - -.students th { - padding-top: 16px; - padding-bottom: 16px; - text-align: left; - background-color: #0e76a8; - color: white; -} - -body { - background: #fafafa; - color: #33333a; - margin-top: 5rem; -} - -h1, h2, h3, h4, h5, h6 { - color: #323232; -} - -.main-color { - background-color: #0e76a8 ; -} - -.pointer { -cursor: pointer; -} - -.btn-color { - background-color: #0e76a8 ; - color: white; -} - -.hide { -display: none; -} - -.form { -margin: 10px; -} \ No newline at end of file diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/error.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/error.html deleted file mode 100644 index a4b585f..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/error.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - Grade Book App - - - - - - - - - - - -
-

Something went wrong

-
- - - - - - - - - \ No newline at end of file diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/index.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/index.html deleted file mode 100644 index acb4b6a..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/index.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - Grade Book App - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
Grade BookFirst NameLast NameEmail
- - - - - -
-
- - - - - - \ No newline at end of file diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/studentInformation.html b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/studentInformation.html deleted file mode 100644 index 6e7056d..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/main/resources/templates/studentInformation.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - Grade Book App - - - - - - - - -
-
-
Receiving student information for:
-
-
-
-
- - -
-
-
- - - - - - - - - - - -
Math Assignments - - - -
Overall:
- - - - -
- - - -
-
- - - - - - - - - - -
Science Assignments - - - -
Overall:
- - - - -
- -
-
- - - - - - - - - - -
History Assignments - - - -
Overall:
- - - - -
- -
-
-
- - - - - - -
- - - - - - - \ No newline at end of file diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java deleted file mode 100644 index f918654..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ /dev/null @@ -1,471 +0,0 @@ -package com.luv2code.springmvc; - -import com.luv2code.springmvc.models.*; -import com.luv2code.springmvc.repository.HistoryGradesDao; -import com.luv2code.springmvc.repository.MathGradesDao; -import com.luv2code.springmvc.repository.ScienceGradesDao; -import com.luv2code.springmvc.repository.StudentDao; -import com.luv2code.springmvc.service.StudentAndGradeService; -import org.junit.jupiter.api.AfterEach; -import org.junit.jupiter.api.BeforeAll; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; -import org.mockito.Mock; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Value; -import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; -import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.http.MediaType; -import org.springframework.jdbc.core.JdbcTemplate; -import org.springframework.mock.web.MockHttpServletRequest; -import org.springframework.test.context.TestPropertySource; -import org.springframework.test.web.ModelAndViewAssert; -import org.springframework.test.web.servlet.MockMvc; -import org.springframework.test.web.servlet.MvcResult; -import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; -import org.springframework.web.servlet.ModelAndView; - -import javax.persistence.EntityManager; -import javax.persistence.PersistenceContext; -import javax.transaction.Transactional; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.Optional; - -import static org.junit.jupiter.api.Assertions.*; -import static org.mockito.Mockito.when; -import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; -import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; - - -// @ExtendWith(SpringExtension.class) -// @ContextHierarchy({@ContextConfiguration(classes = MvcTestingExampleApplication.class)}) -// @ActiveProfiles("test") -// @DirtiesContext(classMode = ClassMode.AFTER_EACH_TEST_METHOD) -// @TestExecutionListeners({DependencyInjectionTestExecutionListener.class, TransactionalTestExecutionListener.class}) -// @WebAppConfiguration -// @Transactional -@TestPropertySource("/application-test.properties") -@AutoConfigureMockMvc -@SpringBootTest -public class GradebookControllerTest { - - private static MockHttpServletRequest request ; - - @Autowired - private JdbcTemplate jdbc; - - @PersistenceContext - private EntityManager entityMgr; - - @Autowired - private StudentDao studentDao; - - @Autowired - private MathGradesDao mathGradesDao; - - @Autowired - private ScienceGradesDao scienceGradesDao; - - @Autowired - private HistoryGradesDao historyGradesDao; - - @Autowired - private MockMvc mockMvc; - - @Mock - private StudentAndGradeService studentCreateServiceMock; - - @Autowired - Gradebook gradebook; - - @Autowired - CollegeStudent student; - - @Autowired - StudentAndGradeService studentService; - - @Value("${sql.script.create.student}") - private String sqlAddStudent; - - @Value("${sql.script.create.math.grade}") - private String sqlAddMathGrade; - - @Value("${sql.script.create.science.grade}") - private String sqlAddScienceGrade; - - @Value("${sql.script.create.history.grade}") - private String sqlAddHistoryGrade; - - @Value("${sql.script.delete.student}") - private String sqlDeleteStudent; - - @Value("${sql.script.delete.math.grade}") - private String sqlDeleteMathGrade; - - @Value("${sql.script.delete.science.grade}") - private String sqlDeleteScienceGrade; - - @Value("${sql.script.delete.history.grade}") - private String sqlDeleteHistoryGrade; - - @BeforeAll - public static void setup() { - - request = new MockHttpServletRequest(); - - request.setParameter("firstname", "Chad"); - - request.setParameter("lastname", "Darby"); - - request.setParameter("emailAddress", "chad.darby@luv2code_school.com"); - - } - - @BeforeEach - public void each() { -// MockitoAnnotations.initMocks(this); - // this.mockMvc = MockMvcBuilders.webAppContextSetup(this.wac).addFilters(new CharacterEncodingFilter()).build(); - jdbc.execute(sqlAddStudent); - jdbc.execute(sqlAddMathGrade); - jdbc.execute(sqlAddScienceGrade); - jdbc.execute(sqlAddHistoryGrade); - } - - - @Transactional - @Test - public void getStudentsHttpRequest () throws Exception { - - GradebookCollegeStudent studentOne = new GradebookCollegeStudent("Eric", "Roby", - "eric_roby@luv2code_school.com"); - studentOne.setStudentGrades(new StudentGrades()); - GradebookCollegeStudent studentTwo = new GradebookCollegeStudent("Chad", "Darby", - "chad_darby@luv2code_school.com"); - studentTwo.setStudentGrades(new StudentGrades()); - List students = new ArrayList<>(Arrays.asList(studentOne, studentTwo)); - gradebook.setStudents(students); - - when(studentCreateServiceMock.getGradebook()).thenReturn(gradebook); - - assertEquals("Roby", studentCreateServiceMock.getGradebook().getStudents().get(0).getLastname(), "Id should be 1"); - assertEquals("Chad", studentCreateServiceMock.getGradebook().getStudents().get(1).getFirstname(), "Firstname Chad"); - - student.setFirstname("Chad"); - student.setLastname("Darby"); - student.setEmailAddress("chad.darby@luv2code_school.com"); - entityMgr.persist(student); - entityMgr.flush(); - - MvcResult mvcResult = mockMvc.perform(MockMvcRequestBuilders.get("/")) - .andExpect(status().isOk()).andReturn(); - - ModelAndView mav = mvcResult.getModelAndView(); - - ModelAndViewAssert.assertViewName(mav, "index"); - } - - @Test - public void createStudentHttpRequest () throws Exception { - - MvcResult mvcResult = this.mockMvc.perform(post("/") - .contentType(MediaType.APPLICATION_JSON) - .param("firstname", request.getParameterValues("firstname")) - .param("lastname", request.getParameterValues("lastname")) - .param("emailAddress", request.getParameterValues("emailAddress"))) - .andExpect(status().isOk()) - .andReturn(); - - ModelAndView mav = mvcResult.getModelAndView(); - - ModelAndViewAssert.assertViewName(mav, "index"); - - CollegeStudent verifyStudent = studentDao.findByEmailAddress("chad.darby@luv2code_school.com"); - - assertNotNull(verifyStudent, "Student should be found after create"); - - } - - - @Test - public void deleteStudentHttpRequest () throws Exception { - - assertTrue(studentDao.findById(1).isPresent()); - - MvcResult mvcResult = mockMvc.perform(MockMvcRequestBuilders.get("/delete/student/{id}", 1)) - .andExpect(status().isOk()).andReturn(); - - ModelAndView mav = mvcResult.getModelAndView(); - - ModelAndViewAssert.assertViewName(mav, "index"); - - assertFalse(studentDao.findById(1).isPresent()); - } - - - - @Test - public void studentInformationHttpRequest () throws Exception { - - assertTrue(studentDao.findById(1).isPresent()); - - MvcResult mvcResult = mockMvc.perform(MockMvcRequestBuilders.get("/studentInformation/{id}", 1)) - .andExpect(status().isOk()).andReturn(); - - ModelAndView mav = mvcResult.getModelAndView(); - - ModelAndViewAssert.assertViewName(mav, "studentInformation"); - } - - @Test - public void studentInformationHttpStudentDoesNotExistRequest () throws Exception { - - assertTrue(studentDao.findById(1).isPresent()); - - MvcResult mvcResult = mockMvc.perform(MockMvcRequestBuilders.get("/studentInformation/{id}", 1001)) - .andExpect(status().isOk()).andReturn(); - - ModelAndView mav = mvcResult.getModelAndView(); - - ModelAndViewAssert.assertViewName(mav, "error"); - } - - - @Test - public void createMathGradeHttpRequest () throws Exception { - - assertTrue(studentDao.findById(1).isPresent()); - - GradebookCollegeStudent student = studentService.studentInformation(1); - - assertEquals(1, student.getStudentGrades().getMathGradeResults().size()); - - MvcResult mvcResult = this.mockMvc.perform(post("/grades") - .contentType(MediaType.APPLICATION_JSON) - .param("grade", "85.00") - .param("gradeType", "math") - .param("studentId", "1")) - .andExpect(status().isOk()) - .andReturn(); - - ModelAndView mav = mvcResult.getModelAndView(); - - ModelAndViewAssert.assertViewName(mav, "studentInformation"); - - student = studentService.studentInformation(1); - - assertEquals(2, student.getStudentGrades().getMathGradeResults().size()); - - } - - @Test - public void createScienceGradeHttpRequest () throws Exception { - - assertTrue(studentDao.findById(1).isPresent()); - - GradebookCollegeStudent student = studentService.studentInformation(1); - - assertEquals(1, student.getStudentGrades().getScienceGradeResults().size()); - - MvcResult mvcResult = this.mockMvc.perform(post("/grades") - .contentType(MediaType.APPLICATION_JSON) - .param("grade", "85.00") - .param("gradeType", "science") - .param("studentId", "1")) - .andExpect(status().isOk()) - .andReturn(); - - ModelAndView mav = mvcResult.getModelAndView(); - - ModelAndViewAssert.assertViewName(mav, "studentInformation"); - - student = studentService.studentInformation(1); - - assertEquals(2, student.getStudentGrades().getScienceGradeResults().size()); - - } - - @Test - public void createHistoryGradeHttpRequest () throws Exception { - - assertTrue(studentDao.findById(1).isPresent()); - - GradebookCollegeStudent student = studentService.studentInformation(1); - - assertEquals(1, student.getStudentGrades().getHistoryGradeResults().size()); - - MvcResult mvcResult = this.mockMvc.perform(post("/grades") - .contentType(MediaType.APPLICATION_JSON) - .param("grade", "85.00") - .param("gradeType", "history") - .param("studentId", "1")) - .andExpect(status().isOk()) - .andReturn(); - - ModelAndView mav = mvcResult.getModelAndView(); - - ModelAndViewAssert.assertViewName(mav, "studentInformation"); - - student = studentService.studentInformation(1); - - assertEquals(2, student.getStudentGrades().getHistoryGradeResults().size()); - } - - @Test - public void createHistoryGradeHttpStudentDoesNotExistEmptyResponse () throws Exception { - - MvcResult mvcResult = this.mockMvc.perform(post("/grades") - .contentType(MediaType.APPLICATION_JSON) - .param("grade", "85.00") - .param("gradeType", "history") - .param("studentId", "0")) - .andExpect(status().isOk()) - .andReturn(); - - ModelAndView mav = mvcResult.getModelAndView(); - - ModelAndViewAssert.assertViewName(mav, "error"); - } - - @Test - public void createHistoryGradeHttpGradeTypeDoesNotExistEmptyResponse () throws Exception { - - MvcResult mvcResult = this.mockMvc.perform(post("/grades") - .contentType(MediaType.APPLICATION_JSON) - .param("grade", "85.00") - .param("gradeType", "literature") - .param("studentId", "1")) - .andExpect(status().isOk()) - .andReturn(); - - ModelAndView mav = mvcResult.getModelAndView(); - - ModelAndViewAssert.assertViewName(mav, "error"); - } - - @Test - public void createHistoryGradeHttpGradeIsHigherThan100EmptyResponse () throws Exception { - - MvcResult mvcResult = this.mockMvc.perform(post("/grades") - .contentType(MediaType.APPLICATION_JSON) - .param("grade", "101.00") - .param("gradeType", "history") - .param("studentId", "1")) - .andExpect(status().isOk()) - .andReturn(); - - ModelAndView mav = mvcResult.getModelAndView(); - - ModelAndViewAssert.assertViewName(mav, "error"); - } - - @Test - public void createHistoryGradeHttpGradeIsNegativeEmptyResponse () throws Exception { - - MvcResult mvcResult = this.mockMvc.perform(post("/grades") - .contentType(MediaType.APPLICATION_JSON) - .param("grade", "-5") - .param("gradeType", "history") - .param("studentId", "1")) - .andExpect(status().isOk()) - .andReturn(); - - ModelAndView mav = mvcResult.getModelAndView(); - - ModelAndViewAssert.assertViewName(mav, "error"); - } - - @Test - public void deleteMathGradeHttpRequest () throws Exception { - - Optional mathGrade = mathGradesDao.findById(1); - - assertTrue(mathGrade.isPresent()); - - MvcResult mvcResult = mockMvc.perform(MockMvcRequestBuilders.get("/grades/{id}/{gradeType}", 1, "math")) - .andExpect(status().isOk()).andReturn(); - - ModelAndView mav = mvcResult.getModelAndView(); - - ModelAndViewAssert.assertViewName(mav, "studentInformation"); - - mathGrade = mathGradesDao.findById(1); - - assertFalse(mathGrade.isPresent()); - } - - @Test - public void deleteScienceGradeHttpRequest () throws Exception { - - Optional scienceGrade = scienceGradesDao.findById(1); - - assertTrue(scienceGrade.isPresent()); - - MvcResult mvcResult = mockMvc.perform(MockMvcRequestBuilders.get("/grades/{id}/{gradeType}", 1, "science")) - .andExpect(status().isOk()).andReturn(); - - ModelAndView mav = mvcResult.getModelAndView(); - - ModelAndViewAssert.assertViewName(mav, "studentInformation"); - - scienceGrade = scienceGradesDao.findById(1); - - assertFalse(scienceGrade.isPresent()); - } - - @Test - public void deleteHistoryGradeHttpRequest () throws Exception { - - Optional historyGrade = historyGradesDao.findById(1); - - assertTrue(historyGrade.isPresent()); - - MvcResult mvcResult = mockMvc.perform(MockMvcRequestBuilders.get("/grades/{id}/{gradeType}", 1, "history")) - .andExpect(status().isOk()).andReturn(); - - ModelAndView mav = mvcResult.getModelAndView(); - - ModelAndViewAssert.assertViewName(mav, "studentInformation"); - - historyGrade = historyGradesDao.findById(1); - - assertFalse(historyGrade.isPresent()); - } - - @Test - public void deleteGradeHttpRequestStudentIdDoesNotExistEmptyResponse () throws Exception { - - Optional historyGrade = historyGradesDao.findById(2); - - assertFalse(historyGrade.isPresent()); - - MvcResult mvcResult = mockMvc.perform(MockMvcRequestBuilders.get("/grades/{id}/{gradeType}", 2, "history")) - .andExpect(status().isOk()).andReturn(); - - ModelAndView mav = mvcResult.getModelAndView(); - - ModelAndViewAssert.assertViewName(mav, "error"); - } - - @Test - public void deleteGradeHttpRequestGradeTypeDoesNotExistEmptyResponse () throws Exception { - - MvcResult mvcResult = mockMvc.perform(MockMvcRequestBuilders.get("/grades/{id}/{gradeType}", 2, "literature")) - .andExpect(status().isOk()).andReturn(); - - ModelAndView mav = mvcResult.getModelAndView(); - - ModelAndViewAssert.assertViewName(mav, "error"); - - } - - - @AfterEach - public void setupAfterTransaction() { - jdbc.execute(sqlDeleteStudent); - jdbc.execute(sqlDeleteMathGrade); - jdbc.execute(sqlDeleteScienceGrade); - jdbc.execute(sqlDeleteHistoryGrade); - } -} diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java deleted file mode 100644 index 75e1df5..0000000 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java +++ /dev/null @@ -1,239 +0,0 @@ -package com.luv2code.springmvc; - -import com.luv2code.springmvc.models.*; -import com.luv2code.springmvc.repository.HistoryGradesDao; -import com.luv2code.springmvc.repository.MathGradesDao; -import com.luv2code.springmvc.repository.ScienceGradesDao; -import com.luv2code.springmvc.repository.StudentDao; -import com.luv2code.springmvc.service.StudentAndGradeService; -import org.junit.jupiter.api.AfterEach; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.extension.ExtendWith; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Value; -import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.jdbc.core.JdbcTemplate; -import org.springframework.test.annotation.Rollback; -import org.springframework.test.context.TestPropertySource; -import org.springframework.test.context.jdbc.Sql; -import org.springframework.test.context.jdbc.SqlConfig; -import org.springframework.test.context.jdbc.SqlGroup; -import org.springframework.test.context.junit.jupiter.SpringExtension; -import javax.transaction.Transactional; -import java.util.Optional; - -import static org.junit.jupiter.api.Assertions.*; - -@TestPropertySource("/application-test.properties") -@SpringBootTest -public class StudentAndGradeServiceTest { - - @Autowired - private JdbcTemplate jdbc; - - @Autowired - private StudentDao studentDao; - - @Autowired - private MathGradesDao mathGradeDao; - - @Autowired - private ScienceGradesDao scienceGradeDao; - - @Autowired - private HistoryGradesDao historyGradeDao; - - @Autowired - private StudentAndGradeService studentService; - - @Value("${sql.script.create.student}") - private String sqlAddStudent; - - @Value("${sql.script.create.math.grade}") - private String sqlAddMathGrade; - - @Value("${sql.script.create.science.grade}") - private String sqlAddScienceGrade; - - @Value("${sql.script.create.history.grade}") - private String sqlAddHistoryGrade; - - @Value("${sql.script.delete.student}") - private String sqlDeleteStudent; - - @Value("${sql.script.delete.math.grade}") - private String sqlDeleteMathGrade; - - @Value("${sql.script.delete.science.grade}") - private String sqlDeleteScienceGrade; - - @Value("${sql.script.delete.history.grade}") - private String sqlDeleteHistoryGrade; - - - @BeforeEach - public void setupDatabase() { - jdbc.execute(sqlAddStudent); - jdbc.execute(sqlAddMathGrade); - jdbc.execute(sqlAddScienceGrade); - jdbc.execute(sqlAddHistoryGrade); - } - - @Test - public void isStudentNullCheck() { - - assertTrue(studentService.checkIfStudentIsNull(1), "@BeforeTransaction creates student : return true"); - - assertFalse(studentService.checkIfStudentIsNull(0), "No student should have 0 id : return false"); - } - - - @Test - public void createStudentService() { - - studentService.createStudent("Chad", "Darby", "chad.darby@luv2code_school.com"); - - CollegeStudent student = studentDao.findByEmailAddress("chad.darby@luv2code_school.com"); - - assertEquals("chad.darby@luv2code_school.com", student.getEmailAddress(), "find by email"); - } - - @Test - @Rollback(value = true) - public void deleteStudentService() { - - Optional deletedCollegeStudent = studentDao.findById(1); - Optional deletedMathGrade = mathGradeDao.findById(1); - Optional deletedScienceGrade = scienceGradeDao.findById(1); - Optional deletedHistoryGrade = historyGradeDao.findById(1); - - assertTrue(deletedCollegeStudent.isPresent(), "return true"); - assertTrue(deletedMathGrade.isPresent(), "return true"); - assertTrue(deletedScienceGrade.isPresent(), "return true"); - assertTrue(deletedHistoryGrade.isPresent(), "return true"); - - studentService.deleteStudent(1); - - deletedCollegeStudent = studentDao.findById(1); - deletedMathGrade = mathGradeDao.findById(1); - deletedScienceGrade = scienceGradeDao.findById(1); - deletedHistoryGrade = historyGradeDao.findById(1); - - assertFalse(deletedCollegeStudent.isPresent(), "return false"); - assertFalse(deletedMathGrade.isPresent(), "return false"); - assertFalse(deletedScienceGrade.isPresent(), "return false"); - assertFalse(deletedHistoryGrade.isPresent(), "return false"); - } - - - - @Test - public void studentInformationService() { - GradebookCollegeStudent gradebookCollegeStudentTest = studentService.studentInformation(1); - - assertNotNull(gradebookCollegeStudentTest); - assertEquals(1, gradebookCollegeStudentTest.getId()); - assertNotNull(gradebookCollegeStudentTest.getFirstname()); - assertNotNull(gradebookCollegeStudentTest.getLastname()); - assertNotNull(gradebookCollegeStudentTest.getEmailAddress()); - assertNotNull(gradebookCollegeStudentTest.getStudentGrades().getMathGradeResults()); - assertNotNull(gradebookCollegeStudentTest.getStudentGrades().getScienceGradeResults()); - assertNotNull(gradebookCollegeStudentTest.getStudentGrades().getHistoryGradeResults()); - - assertEquals("Eric", gradebookCollegeStudentTest.getFirstname()); - assertEquals("Roby", gradebookCollegeStudentTest.getLastname()); - assertEquals("eric.roby@luv2code_school.com", gradebookCollegeStudentTest.getEmailAddress()); - } - - @Test - public void isGradeNullCheck() { - - assertTrue(studentService.checkIfGradeIsNull(1, "math"), - "@BeforeTransaction creates student : return true"); - - assertTrue(studentService.checkIfGradeIsNull(1, "science"), - "@BeforeTransaction creates student : return true"); - - assertTrue(studentService.checkIfGradeIsNull(1, "history"), - "@BeforeTransaction creates student : return true"); - - assertFalse(studentService.checkIfGradeIsNull(0, "science"), - "No student should have 0 id : return false"); - - assertFalse(studentService.checkIfGradeIsNull(0, "Literature"), - "No student should have 0 id : return false"); - } - - @Test - public void deleteGradeService() { - - assertEquals(1, studentService.deleteGrade(1, "math"), - "@BeforeTransaction creates student : return true"); - - assertEquals(1, studentService.deleteGrade(1, "science"), - "@BeforeTransaction creates student : return true"); - - assertEquals(1, studentService.deleteGrade(1, "history"), - "@BeforeTransaction creates student : return true"); - - assertEquals(0, studentService.deleteGrade(0, "science"), - "No student should have 0 id : return false"); - - assertEquals(0, studentService.deleteGrade(1, "literature"), - "No student should have 0 id : return false"); - } - - @Test - public void createGradeService() { - - studentService.createGrade(80.50, 2, "math"); - studentService.createGrade(80.50, 2, "science"); - studentService.createGrade(80.50, 2, "history"); - studentService.createGrade(80.50, 2, "literature"); - - Iterable mathGrades = mathGradeDao.findGradeByStudentId(2); - - Iterable scienceGrades = scienceGradeDao.findGradeByStudentId(2); - - Iterable historyGrades = historyGradeDao.findGradeByStudentId(2); - - assertTrue(mathGrades.iterator().hasNext(), - "Student Service creates the grade: return true"); - assertTrue(scienceGrades.iterator().hasNext(), - "Student Service creates the grade: return true"); - assertTrue(historyGrades.iterator().hasNext(), - "Student Service creates the grade: return true"); - } - - @SqlGroup({ @Sql(scripts = "/insertData.sql", config = @SqlConfig(commentPrefix = "`")), - @Sql("/overrideData.sql"), - @Sql("/insertGrade.sql")}) - @Test - public void getGradebookService() { - - Gradebook gradebook = studentService.getGradebook(); - - Gradebook gradebookTest = new Gradebook(); - - for (GradebookCollegeStudent student : gradebook.getStudents()) { - if (student.getId() > 10) { - gradebookTest.getStudents().add(student); - } - } - - assertEquals(4, gradebookTest.getStudents().size()); - assertTrue(gradebookTest.getStudents().get(0).getStudentGrades().getHistoryGradeResults() != null); - assertTrue(gradebookTest.getStudents().get(0).getStudentGrades().getScienceGradeResults() != null); - assertTrue(gradebookTest.getStudents().get(0).getStudentGrades().getMathGradeResults() != null); - } - - - @AfterEach - public void setupAfterTransaction() { - jdbc.execute(sqlDeleteStudent); - jdbc.execute(sqlDeleteMathGrade); - jdbc.execute(sqlDeleteScienceGrade); - jdbc.execute(sqlDeleteHistoryGrade); - } -} diff --git a/4.00-starting-project/pom.xml b/4.00-starting-project/pom.xml index b254422..a489472 100644 --- a/4.00-starting-project/pom.xml +++ b/4.00-starting-project/pom.xml @@ -1,64 +1,91 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + - + com.luv2code + spring-testing-annotation + 1.0.0 - - - org.springframework.boot - spring-boot-starter-web - + + 23 + + - - org.springframework.boot - spring-boot-starter-test - test - + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + - - - com.mysql - mysql-connector-j - runtime - + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + - - - org.springframework.boot - spring-boot-starter-data-jpa - + + com.h2database + h2 + runtime + - - com.h2database - h2 - runtime - + - + + + + org.springframework.boot + spring-boot-maven-plugin + - - - - org.springframework.boot - spring-boot-maven-plugin - - - + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + diff --git a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/pom.xml b/4.01-starting-project-solutions/pom.xml similarity index 96% rename from 3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/pom.xml rename to 4.01-starting-project-solutions/pom.xml index 4921185..a489472 100644 --- a/3.01-starting-project-solutions/section-11-testing-spring-boot-mvc-web-apps-student-information-and-grades/3.01-80-solution-final/pom.xml +++ b/4.01-starting-project-solutions/pom.xml @@ -11,9 +11,8 @@ com.luv2code - spring-boot-mvc-testing-demo + spring-testing-annotation 1.0.0 - war 23 diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml index b254422..a489472 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml @@ -1,64 +1,91 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + - + com.luv2code + spring-testing-annotation + 1.0.0 - - - org.springframework.boot - spring-boot-starter-web - + + 23 + + - - org.springframework.boot - spring-boot-starter-test - test - + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + - - - com.mysql - mysql-connector-j - runtime - + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + - - - org.springframework.boot - spring-boot-starter-data-jpa - + + com.h2database + h2 + runtime + - - com.h2database - h2 - runtime - + - + + + + org.springframework.boot + spring-boot-maven-plugin + - - - - org.springframework.boot - spring-boot-maven-plugin - - - + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application-test.properties index 905d2e9..b044008 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application-test.properties +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application-test.properties @@ -11,13 +11,13 @@ spring.jpa.show-sql = true ## SQL Scripts -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index 987359f..feab84e 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -22,8 +22,8 @@ import org.springframework.test.web.servlet.MockMvc; import org.springframework.transaction.annotation.Transactional; -import javax.persistence.EntityManager; -import javax.persistence.PersistenceContext; +import jakarta.persistence.EntityManager; +import jakarta.persistence.PersistenceContext; @TestPropertySource("/application-test.properties") @AutoConfigureMockMvc diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/pom.xml index b254422..a489472 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/pom.xml +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/pom.xml @@ -1,64 +1,91 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + - + com.luv2code + spring-testing-annotation + 1.0.0 - - - org.springframework.boot - spring-boot-starter-web - + + 23 + + - - org.springframework.boot - spring-boot-starter-test - test - + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + - - - com.mysql - mysql-connector-j - runtime - + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + - - - org.springframework.boot - spring-boot-starter-data-jpa - + + com.h2database + h2 + runtime + - - com.h2database - h2 - runtime - + - + + + + org.springframework.boot + spring-boot-maven-plugin + - - - - org.springframework.boot - spring-boot-maven-plugin - - - + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index 7e104da..257ac9c 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -24,8 +24,8 @@ import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; import org.springframework.transaction.annotation.Transactional; -import javax.persistence.EntityManager; -import javax.persistence.PersistenceContext; +import jakarta.persistence.EntityManager; +import jakarta.persistence.PersistenceContext; import static org.hamcrest.Matchers.hasSize; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*; diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/pom.xml index b254422..a489472 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/pom.xml +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/pom.xml @@ -1,64 +1,91 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + - + com.luv2code + spring-testing-annotation + 1.0.0 - - - org.springframework.boot - spring-boot-starter-web - + + 23 + + - - org.springframework.boot - spring-boot-starter-test - test - + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + - - - com.mysql - mysql-connector-j - runtime - + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + - - - org.springframework.boot - spring-boot-starter-data-jpa - + + com.h2database + h2 + runtime + - - com.h2database - h2 - runtime - + - + + + + org.springframework.boot + spring-boot-maven-plugin + - - - - org.springframework.boot - spring-boot-maven-plugin - - - + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index 5371892..9bf5a80 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -25,8 +25,8 @@ import org.springframework.transaction.annotation.Transactional; import org.springframework.web.bind.annotation.RequestBody; -import javax.persistence.EntityManager; -import javax.persistence.PersistenceContext; +import jakarta.persistence.EntityManager; +import jakarta.persistence.PersistenceContext; import static org.hamcrest.Matchers.hasSize; import static org.junit.jupiter.api.Assertions.assertNotNull; diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/pom.xml index b254422..a489472 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/pom.xml +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/pom.xml @@ -1,64 +1,91 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + - + com.luv2code + spring-testing-annotation + 1.0.0 - - - org.springframework.boot - spring-boot-starter-web - + + 23 + + - - org.springframework.boot - spring-boot-starter-test - test - + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + - - - com.mysql - mysql-connector-j - runtime - + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + - - - org.springframework.boot - spring-boot-starter-data-jpa - + + com.h2database + h2 + runtime + - - com.h2database - h2 - runtime - + - + + + + org.springframework.boot + spring-boot-maven-plugin + - - - - org.springframework.boot - spring-boot-maven-plugin - - - + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index cc8544b..19a0268 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -25,8 +25,8 @@ import org.springframework.transaction.annotation.Transactional; import org.springframework.web.bind.annotation.RequestBody; -import javax.persistence.EntityManager; -import javax.persistence.PersistenceContext; +import jakarta.persistence.EntityManager; +import jakarta.persistence.PersistenceContext; import static org.hamcrest.Matchers.hasSize; import static org.junit.jupiter.api.Assertions.*; diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/pom.xml index b254422..a489472 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/pom.xml +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/pom.xml @@ -1,64 +1,91 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + - + com.luv2code + spring-testing-annotation + 1.0.0 - - - org.springframework.boot - spring-boot-starter-web - + + 23 + + - - org.springframework.boot - spring-boot-starter-test - test - + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + - - - com.mysql - mysql-connector-j - runtime - + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + - - - org.springframework.boot - spring-boot-starter-data-jpa - + + com.h2database + h2 + runtime + - - com.h2database - h2 - runtime - + - + + + + org.springframework.boot + spring-boot-maven-plugin + - - - - org.springframework.boot - spring-boot-maven-plugin - - - + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index c7e8cc6..b6a2a4c 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -24,8 +24,8 @@ import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; import org.springframework.transaction.annotation.Transactional; -import javax.persistence.EntityManager; -import javax.persistence.PersistenceContext; +import jakarta.persistence.EntityManager; +import jakarta.persistence.PersistenceContext; import static org.hamcrest.Matchers.hasSize; import static org.hamcrest.Matchers.is; diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/pom.xml index b254422..a489472 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/pom.xml +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/pom.xml @@ -1,64 +1,91 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + - + com.luv2code + spring-testing-annotation + 1.0.0 - - - org.springframework.boot - spring-boot-starter-web - + + 23 + + - - org.springframework.boot - spring-boot-starter-test - test - + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + - - - com.mysql - mysql-connector-j - runtime - + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + - - - org.springframework.boot - spring-boot-starter-data-jpa - + + com.h2database + h2 + runtime + - - com.h2database - h2 - runtime - + - + + + + org.springframework.boot + spring-boot-maven-plugin + - - - - org.springframework.boot - spring-boot-maven-plugin - - - + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index 7724957..292bf8f 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -24,8 +24,8 @@ import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; import org.springframework.transaction.annotation.Transactional; -import javax.persistence.EntityManager; -import javax.persistence.PersistenceContext; +import jakarta.persistence.EntityManager; +import jakarta.persistence.PersistenceContext; import java.util.Optional; import static org.hamcrest.Matchers.hasSize; diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/pom.xml index b254422..a489472 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/pom.xml +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/pom.xml @@ -1,64 +1,91 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + - + com.luv2code + spring-testing-annotation + 1.0.0 - - - org.springframework.boot - spring-boot-starter-web - + + 23 + + - - org.springframework.boot - spring-boot-starter-test - test - + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + - - - com.mysql - mysql-connector-j - runtime - + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + - - - org.springframework.boot - spring-boot-starter-data-jpa - + + com.h2database + h2 + runtime + - - com.h2database - h2 - runtime - + - + + + + org.springframework.boot + spring-boot-maven-plugin + - - - - org.springframework.boot - spring-boot-maven-plugin - - - + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index 439f57e..6b07272 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -24,8 +24,8 @@ import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; import org.springframework.transaction.annotation.Transactional; -import javax.persistence.EntityManager; -import javax.persistence.PersistenceContext; +import jakarta.persistence.EntityManager; +import jakarta.persistence.PersistenceContext; import java.util.Optional; import static org.hamcrest.Matchers.hasSize; diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/pom.xml index b254422..a489472 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/pom.xml +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/pom.xml @@ -1,64 +1,91 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + - + com.luv2code + spring-testing-annotation + 1.0.0 - - - org.springframework.boot - spring-boot-starter-web - + + 23 + + - - org.springframework.boot - spring-boot-starter-test - test - + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + - - - com.mysql - mysql-connector-j - runtime - + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + - - - org.springframework.boot - spring-boot-starter-data-jpa - + + com.h2database + h2 + runtime + - - com.h2database - h2 - runtime - + - + + + + org.springframework.boot + spring-boot-maven-plugin + - - - - org.springframework.boot - spring-boot-maven-plugin - - - + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index 7883c41..70480dd 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -24,8 +24,8 @@ import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; import org.springframework.transaction.annotation.Transactional; -import javax.persistence.EntityManager; -import javax.persistence.PersistenceContext; +import jakarta.persistence.EntityManager; +import jakarta.persistence.PersistenceContext; import java.util.Optional; import static org.hamcrest.Matchers.hasSize; diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml index b254422..a489472 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml @@ -1,64 +1,91 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + - + com.luv2code + spring-testing-annotation + 1.0.0 - - - org.springframework.boot - spring-boot-starter-web - + + 23 + + - - org.springframework.boot - spring-boot-starter-test - test - + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + - - - com.mysql - mysql-connector-j - runtime - + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + - - - org.springframework.boot - spring-boot-starter-data-jpa - + + com.h2database + h2 + runtime + - - com.h2database - h2 - runtime - + - + + + + org.springframework.boot + spring-boot-maven-plugin + - - - - org.springframework.boot - spring-boot-maven-plugin - - - + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index 9d9d3be..e016eb4 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -24,8 +24,8 @@ import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; import org.springframework.transaction.annotation.Transactional; -import javax.persistence.EntityManager; -import javax.persistence.PersistenceContext; +import jakarta.persistence.EntityManager; +import jakarta.persistence.PersistenceContext; import java.util.Optional; import static org.hamcrest.Matchers.hasSize; diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml index b254422..a489472 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml @@ -1,64 +1,91 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + - + com.luv2code + spring-testing-annotation + 1.0.0 - - - org.springframework.boot - spring-boot-starter-web - + + 23 + + - - org.springframework.boot - spring-boot-starter-test - test - + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + - - - com.mysql - mysql-connector-j - runtime - + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + - - - org.springframework.boot - spring-boot-starter-data-jpa - + + com.h2database + h2 + runtime + - - com.h2database - h2 - runtime - + - + + + + org.springframework.boot + spring-boot-maven-plugin + - - - - org.springframework.boot - spring-boot-maven-plugin - - - + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index 89b8f71..a81846d 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -24,8 +24,8 @@ import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; import org.springframework.transaction.annotation.Transactional; -import javax.persistence.EntityManager; -import javax.persistence.PersistenceContext; +import jakarta.persistence.EntityManager; +import jakarta.persistence.PersistenceContext; import java.util.Optional; import static org.hamcrest.Matchers.hasSize; diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/pom.xml index b254422..a489472 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/pom.xml +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/pom.xml @@ -1,64 +1,91 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + - + com.luv2code + spring-testing-annotation + 1.0.0 - - - org.springframework.boot - spring-boot-starter-web - + + 23 + + - - org.springframework.boot - spring-boot-starter-test - test - + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + - - - com.mysql - mysql-connector-j - runtime - + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + - - - org.springframework.boot - spring-boot-starter-data-jpa - + + com.h2database + h2 + runtime + - - com.h2database - h2 - runtime - + - + + + + org.springframework.boot + spring-boot-maven-plugin + - - - - org.springframework.boot - spring-boot-maven-plugin - - - + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index c239e3c..474de7f 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -25,8 +25,8 @@ import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; import org.springframework.transaction.annotation.Transactional; -import javax.persistence.EntityManager; -import javax.persistence.PersistenceContext; +import jakarta.persistence.EntityManager; +import jakarta.persistence.PersistenceContext; import java.util.Optional; import static org.hamcrest.Matchers.hasSize; diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml index b254422..a489472 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml @@ -1,64 +1,91 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + - + com.luv2code + spring-testing-annotation + 1.0.0 - - - org.springframework.boot - spring-boot-starter-web - + + 23 + + - - org.springframework.boot - spring-boot-starter-test - test - + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + - - - com.mysql - mysql-connector-j - runtime - + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + - - - org.springframework.boot - spring-boot-starter-data-jpa - + + com.h2database + h2 + runtime + - - com.h2database - h2 - runtime - + - + + + + org.springframework.boot + spring-boot-maven-plugin + - - - - org.springframework.boot - spring-boot-maven-plugin - - - + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index ef9ba71..362ca69 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -25,8 +25,8 @@ import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; import org.springframework.transaction.annotation.Transactional; -import javax.persistence.EntityManager; -import javax.persistence.PersistenceContext; +import jakarta.persistence.EntityManager; +import jakarta.persistence.PersistenceContext; import java.util.Optional; import static org.hamcrest.Matchers.hasSize; diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml index b254422..a489472 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml @@ -1,64 +1,91 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.6.6 - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.luv2code - spring-testing-annotation - 1.0 - - - 17 - + + org.springframework.boot + spring-boot-starter-parent + 3.4.0 + + - + com.luv2code + spring-testing-annotation + 1.0.0 - - - org.springframework.boot - spring-boot-starter-web - + + 23 + + - - org.springframework.boot - spring-boot-starter-test - test - + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + - - - com.mysql - mysql-connector-j - runtime - + + + com.mysql + mysql-connector-j + runtime + + + + + org.springframework.boot + spring-boot-starter-data-jpa + - - - org.springframework.boot - spring-boot-starter-data-jpa - + + com.h2database + h2 + runtime + - - com.h2database - h2 - runtime - + - + + + + org.springframework.boot + spring-boot-maven-plugin + - - - - org.springframework.boot - spring-boot-maven-plugin - - - + + org.apache.maven.plugins + maven-dependency-plugin + + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + @{argLine} -javaagent:${org.mockito:mockito-core:jar} + + + + diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java index 0bbdae9..4f82021 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java @@ -25,8 +25,8 @@ import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; import org.springframework.transaction.annotation.Transactional; -import javax.persistence.EntityManager; -import javax.persistence.PersistenceContext; +import jakarta.persistence.EntityManager; +import jakarta.persistence.PersistenceContext; import java.util.Optional; import static org.hamcrest.Matchers.hasSize; From 58832b8d863f81517e45645ff2a963ada2c61032 Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Wed, 8 Jan 2025 19:34:59 -0500 Subject: [PATCH 17/20] updates for Java 23 and Spring Boot 3 --- 4.01-starting-project-solutions/pom.xml | 91 ------------------------- 1 file changed, 91 deletions(-) delete mode 100644 4.01-starting-project-solutions/pom.xml diff --git a/4.01-starting-project-solutions/pom.xml b/4.01-starting-project-solutions/pom.xml deleted file mode 100644 index a489472..0000000 --- a/4.01-starting-project-solutions/pom.xml +++ /dev/null @@ -1,91 +0,0 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 3.4.0 - - - - com.luv2code - spring-testing-annotation - 1.0.0 - - - 23 - - - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - com.mysql - mysql-connector-j - runtime - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - com.h2database - h2 - runtime - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - org.apache.maven.plugins - maven-dependency-plugin - - - - properties - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - @{argLine} -javaagent:${org.mockito:mockito-core:jar} - - - - - - From 1ce75b0a54caa4c8cf3e0c582bd8f4e238998f8f Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Wed, 8 Jan 2025 19:41:07 -0500 Subject: [PATCH 18/20] updates for Java 23 and Spring Boot 3 --- .../main/resources/application-test.properties | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/4.00-starting-project/src/main/resources/application-test.properties b/4.00-starting-project/src/main/resources/application-test.properties index 905d2e9..b044008 100644 --- a/4.00-starting-project/src/main/resources/application-test.properties +++ b/4.00-starting-project/src/main/resources/application-test.properties @@ -11,13 +11,13 @@ spring.jpa.show-sql = true ## SQL Scripts -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 From 193167ae99d1a795b18866a4d6f8bb830ee9e91c Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Wed, 8 Jan 2025 19:47:24 -0500 Subject: [PATCH 19/20] updates for Java 23 and Spring Boot 3 --- .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 0 .../java/com/luv2code/springmvc/MvcTestingExampleApplication.java | 0 .../src/main/java/com/luv2code/springmvc/ServletInitializer.java | 0 .../com/luv2code/springmvc/controller/GradebookController.java | 0 .../springmvc/exceptionhandling/StudentOrGradeErrorResponse.java | 0 .../exceptionhandling/StudentOrGradeNotFoundException.java | 0 .../main/java/com/luv2code/springmvc/models/CollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/Grade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Gradebook.java | 0 .../com/luv2code/springmvc/models/GradebookCollegeStudent.java | 0 .../src/main/java/com/luv2code/springmvc/models/HistoryGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/MathGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/ScienceGrade.java | 0 .../src/main/java/com/luv2code/springmvc/models/Student.java | 0 .../main/java/com/luv2code/springmvc/models/StudentGrades.java | 0 .../java/com/luv2code/springmvc/repository/HistoryGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/MathGradesDao.java | 0 .../java/com/luv2code/springmvc/repository/ScienceGradesDao.java | 0 .../main/java/com/luv2code/springmvc/repository/StudentDao.java | 0 .../com/luv2code/springmvc/service/StudentAndGradeService.java | 0 .../src/main/resources/application-test.properties | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/insertData.sql | 0 .../src/main/resources/insertGrade.sql | 0 .../src/main/resources/overRideData.sql | 0 .../test/java/com/luv2code/springmvc/GradebookControllerTest.java | 0 .../java/com/luv2code/springmvc/StudentAndGradeServiceTest.java | 0 390 files changed, 0 insertions(+), 0 deletions(-) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/HELP.md (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/mvnw (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/mvnw.cmd (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/pom.xml (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-02-setting-up-gradebook-controller-test => solution-4.01-01-setting-up-gradebook-controller-test}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/HELP.md (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/mvnw (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/mvnw.cmd (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/pom.xml (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-03-get-students-test => solution-4.01-02-get-students-test}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/HELP.md (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/mvnw (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/mvnw.cmd (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/pom.xml (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-04-create-student => solution-4.01-03-create-student}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/HELP.md (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/mvnw (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/mvnw.cmd (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/pom.xml (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-05-delete-student => solution-4.01-04-delete-student}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/HELP.md (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/mvnw (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/mvnw.cmd (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/pom.xml (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-06-delete-student-error-page => solution-4.01-05-delete-student-error-page}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/HELP.md (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/mvnw (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/mvnw.cmd (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/pom.xml (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-07-student-information-created => solution-4.01-06-student-information-created}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/HELP.md (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/mvnw (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/mvnw.cmd (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/pom.xml (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-08-student-information-student-not-found => solution-4.01-07-student-information-student-not-found}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/HELP.md (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/mvnw (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/mvnw.cmd (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/pom.xml (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-09-create-a-valid-grade => solution-4.01-08-create-a-valid-grade}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/HELP.md (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/mvnw (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/mvnw.cmd (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/pom.xml (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-10-create-a-valid-student-id-does-not-exist => solution-4.01-09-create-a-valid-student-id-does-not-exist}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/HELP.md (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/mvnw (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/mvnw.cmd (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/pom.xml (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist => solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/HELP.md (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/mvnw (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/mvnw.cmd (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/pom.xml (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-12-delete-a-valid-grade => solution-4.01-11-delete-a-valid-grade}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/HELP.md (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/mvnw (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/mvnw.cmd (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/pom.xml (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist => solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/HELP.md (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/mvnw (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/mvnw.cmd (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/pom.xml (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/ServletInitializer.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/controller/GradebookController.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Grade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Gradebook.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/MathGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/Student.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/models/StudentGrades.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/repository/StudentDao.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/resources/application-test.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/resources/application.properties (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/resources/insertData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/resources/insertGrade.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/main/resources/overRideData.sql (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java (100%) rename 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/{solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist => solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist}/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java (100%) diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/HELP.md diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/mvnw diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/pom.xml diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-01-setting-up-gradebook-controller-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/HELP.md diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/mvnw diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/pom.xml diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-get-students-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/HELP.md diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/mvnw diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/pom.xml diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-create-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/HELP.md diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/mvnw diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/pom.xml diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/HELP.md diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/mvnw diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/pom.xml diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-delete-student-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/HELP.md diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/mvnw diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/pom.xml diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-created/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/HELP.md diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/mvnw diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/pom.xml diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-student-information-student-not-found/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/HELP.md diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/mvnw diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/pom.xml diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/HELP.md diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/mvnw diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/pom.xml diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/HELP.md diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/pom.xml diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/HELP.md diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/mvnw diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/pom.xml diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/HELP.md diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/pom.xml diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/HELP.md b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/HELP.md similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/HELP.md rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/HELP.md diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/mvnw.cmd diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/pom.xml diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/MvcTestingExampleApplication.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/ServletInitializer.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/controller/GradebookController.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeErrorResponse.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/exceptionhandling/StudentOrGradeNotFoundException.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/CollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Grade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Gradebook.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/GradebookCollegeStudent.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/HistoryGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/MathGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/ScienceGrade.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/Student.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/models/StudentGrades.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/HistoryGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/MathGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/ScienceGradesDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/repository/StudentDao.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/java/com/luv2code/springmvc/service/StudentAndGradeService.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application.properties diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/insertGrade.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/overRideData.sql diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/GradebookControllerTest.java diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java similarity index 100% rename from 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-14-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java rename to 4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/test/java/com/luv2code/springmvc/StudentAndGradeServiceTest.java From e7a7549858c7abb44e986ae6c309985052e7b225 Mon Sep 17 00:00:00 2001 From: darbyluv2code Date: Wed, 8 Jan 2025 19:58:00 -0500 Subject: [PATCH 20/20] updates for Java 23 and Spring Boot 3 --- .../main/resources/application-test.properties | 18 +++++++++--------- .../main/resources/application-test.properties | 18 +++++++++--------- .../main/resources/application-test.properties | 18 +++++++++--------- .../main/resources/application-test.properties | 18 +++++++++--------- .../main/resources/application-test.properties | 18 +++++++++--------- .../main/resources/application-test.properties | 18 +++++++++--------- .../main/resources/application-test.properties | 18 +++++++++--------- .../main/resources/application-test.properties | 18 +++++++++--------- .../main/resources/application-test.properties | 18 +++++++++--------- .../main/resources/application-test.properties | 18 +++++++++--------- .../main/resources/application-test.properties | 18 +++++++++--------- .../main/resources/application-test.properties | 18 +++++++++--------- 12 files changed, 108 insertions(+), 108 deletions(-) diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/resources/application-test.properties index 905d2e9..b044008 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/resources/application-test.properties +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-02-get-students-test/src/main/resources/application-test.properties @@ -11,13 +11,13 @@ spring.jpa.show-sql = true ## SQL Scripts -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/resources/application-test.properties index 905d2e9..b044008 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/resources/application-test.properties +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-03-create-student/src/main/resources/application-test.properties @@ -11,13 +11,13 @@ spring.jpa.show-sql = true ## SQL Scripts -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/resources/application-test.properties index 905d2e9..b044008 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/resources/application-test.properties +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-04-delete-student/src/main/resources/application-test.properties @@ -11,13 +11,13 @@ spring.jpa.show-sql = true ## SQL Scripts -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/resources/application-test.properties index 905d2e9..b044008 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/resources/application-test.properties +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-05-delete-student-error-page/src/main/resources/application-test.properties @@ -11,13 +11,13 @@ spring.jpa.show-sql = true ## SQL Scripts -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/resources/application-test.properties index 905d2e9..b044008 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/resources/application-test.properties +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-06-student-information-created/src/main/resources/application-test.properties @@ -11,13 +11,13 @@ spring.jpa.show-sql = true ## SQL Scripts -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/resources/application-test.properties index 905d2e9..b044008 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/resources/application-test.properties +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-07-student-information-student-not-found/src/main/resources/application-test.properties @@ -11,13 +11,13 @@ spring.jpa.show-sql = true ## SQL Scripts -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/resources/application-test.properties index 905d2e9..b044008 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/resources/application-test.properties +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-08-create-a-valid-grade/src/main/resources/application-test.properties @@ -11,13 +11,13 @@ spring.jpa.show-sql = true ## SQL Scripts -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties index 905d2e9..b044008 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-09-create-a-valid-student-id-does-not-exist/src/main/resources/application-test.properties @@ -11,13 +11,13 @@ spring.jpa.show-sql = true ## SQL Scripts -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties index 905d2e9..b044008 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-10-create-an-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties @@ -11,13 +11,13 @@ spring.jpa.show-sql = true ## SQL Scripts -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/resources/application-test.properties index 905d2e9..b044008 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/resources/application-test.properties +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-11-delete-a-valid-grade/src/main/resources/application-test.properties @@ -11,13 +11,13 @@ spring.jpa.show-sql = true ## SQL Scripts -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties index 905d2e9..b044008 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-12-delete-a-valid-grade-the-grade-id-does-not-exist/src/main/resources/application-test.properties @@ -11,13 +11,13 @@ spring.jpa.show-sql = true ## SQL Scripts -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1 diff --git a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties index 905d2e9..b044008 100644 --- a/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties +++ b/4.01-starting-project-solutions/section-12-testing-spring-boot-rest-apis/solution-4.01-13-delete-a-invalid-grade-the-grade-type-does-not-exist/src/main/resources/application-test.properties @@ -11,13 +11,13 @@ spring.jpa.show-sql = true ## SQL Scripts -sql.script.create.student=insert into student(id,firstname,lastname,email_address) \ - values (1,'Eric', 'Roby', 'eric.roby@luv2code_school.com') -sql.script.create.math.grade=insert into math_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.science.grade=insert into science_grade(id,student_id,grade) values (1,1,100.00) -sql.script.create.history.grade=insert into history_grade(id,student_id,grade) values (1,1,100.00) +sql.script.create.student=insert into student(firstname,lastname,email_address) \ + values ('Eric', 'Roby', 'eric.roby@luv2code_school.com') +sql.script.create.math.grade=insert into math_grade(student_id,grade) values (1,100.00) +sql.script.create.science.grade=insert into science_grade(student_id,grade) values (1,100.00) +sql.script.create.history.grade=insert into history_grade(student_id,grade) values (1,100.00) -sql.script.delete.student=DELETE FROM student -sql.script.delete.math.grade=DELETE FROM math_grade -sql.script.delete.science.grade=DELETE FROM science_grade -sql.script.delete.history.grade=DELETE FROM history_grade +sql.script.delete.student=DELETE FROM student; ALTER TABLE student ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.math.grade=DELETE FROM math_grade; ALTER TABLE math_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.science.grade=DELETE FROM science_grade; ALTER TABLE science_grade ALTER COLUMN ID RESTART WITH 1 +sql.script.delete.history.grade=DELETE FROM history_grade; ALTER TABLE history_grade ALTER COLUMN ID RESTART WITH 1