From 12aaa53275a558b6d23e9bc19c6cd950360d2750 Mon Sep 17 00:00:00 2001 From: Sasank Vishnubhatla Date: Thu, 15 Jun 2017 15:58:33 -0400 Subject: [PATCH 01/15] Test commit on sasank branch --- test.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test.txt diff --git a/test.txt b/test.txt new file mode 100644 index 000000000..0527e6bd2 --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +This is a test From 88022fcb76e49910b1d721549613631abc633b79 Mon Sep 17 00:00:00 2001 From: Sasank Vishnubhatla Date: Thu, 15 Jun 2017 16:01:46 -0400 Subject: [PATCH 02/15] Removed test file --- test.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 test.txt diff --git a/test.txt b/test.txt deleted file mode 100644 index 0527e6bd2..000000000 --- a/test.txt +++ /dev/null @@ -1 +0,0 @@ -This is a test From 6d0eda82a4a632e522f6252c8caef7e6cfc7c6a9 Mon Sep 17 00:00:00 2001 From: Sasank Vishnubhatla Date: Thu, 15 Jun 2017 16:33:04 -0400 Subject: [PATCH 03/15] Updated boot banner Changed petclinic to kidclinic --- src/main/resources/banner.txt | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/main/resources/banner.txt b/src/main/resources/banner.txt index a3d40b9ea..e1fccafaf 100644 --- a/src/main/resources/banner.txt +++ b/src/main/resources/banner.txt @@ -1,15 +1,17 @@ - |\ _,,,--,,_ - /,`.-'`' ._ \-;;,_ - _______ __|,4- ) )_ .;.(__`'-'__ ___ __ _ ___ _______ - | | '---''(_/._)-'(_\_) | | | | | | | | | - | _ | ___|_ _| | | | | |_| | | | __ _ _ - | |_| | |___ | | | | | | | | | | \ \ \ \ - | ___| ___| | | | _| |___| | _ | | _| \ \ \ \ - | | | |___ | | | |_| | | | | | | |_ ) ) ) ) - |___| |_______| |___| |_______|_______|___|_| |__|___|_______| / / / / - ==================================================================/_/_/_/ +Presenting... + + _ __ _ _ _____ _ _ _ +| | / /(_) | |/ __ \| |(_) (_) +| |/ / _ __| || / \/| | _ _ __ _ ___ +| \ | | / _` || | | || || '_ \ | | / __| +| |\ \| || (_| || \__/\| || || | | || || (__ +\_| \_/|_| \__,_| \____/|_||_||_| |_||_| \___| + + :: Built with Spring Boot :: ${spring-boot.version} +Enjoy... + From ef62d3437407f80970b56feccf6cb51a4a05bb1b Mon Sep 17 00:00:00 2001 From: Sasank Vishnubhatla Date: Thu, 15 Jun 2017 17:16:09 -0400 Subject: [PATCH 04/15] Updated README.md for notes --- readme.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/readme.md b/readme.md index 52b4dc0fd..3cffb1b14 100644 --- a/readme.md +++ b/readme.md @@ -26,6 +26,12 @@ The purpose of KidClinic is to simulate the building of an enterprise applicatio | Add reviews section for doctors | Development | Short Term | Sasank | | Calendar Scheduling | Research | Long Term | Sasank | +# Login System +In order to create a login system, we need to create a subfolder for the login controller. This follows [DotorController.java](/src/main/java/org/springframework/samples/kidclinic/doctor/DoctorController.java) for the methods. + +# Reviews section for Doctors +Nicely enough, this also follows the login system. + ## Contact If you are interested in the development of this app, you can contact any of the developers. You can reach us at From e906f54ec3b1ba81d198875e556728a72ccc651e Mon Sep 17 00:00:00 2001 From: ej-liu Date: Thu, 15 Jun 2017 17:49:56 -0400 Subject: [PATCH 05/15] Updated README.md for link --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 3cffb1b14..8ea3bab3f 100644 --- a/readme.md +++ b/readme.md @@ -27,7 +27,7 @@ The purpose of KidClinic is to simulate the building of an enterprise applicatio | Calendar Scheduling | Research | Long Term | Sasank | # Login System -In order to create a login system, we need to create a subfolder for the login controller. This follows [DotorController.java](/src/main/java/org/springframework/samples/kidclinic/doctor/DoctorController.java) for the methods. +In order to create a login system, we need to create a subfolder for the login controller. This follows [DoctorController.java](/src/main/java/org/springframework/samples/kidclinic/doctor/DoctorController.java) for the methods. # Reviews section for Doctors Nicely enough, this also follows the login system. From fa806dbfb119f9e295812f0c26a72da61a222774 Mon Sep 17 00:00:00 2001 From: Sasank Vishnubhatla Date: Fri, 16 Jun 2017 10:49:13 -0400 Subject: [PATCH 06/15] Added review controller --- .../kidclinic/reviews/ReviewsController.java | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 src/main/java/org/springframework/samples/kidclinic/reviews/ReviewsController.java diff --git a/src/main/java/org/springframework/samples/kidclinic/reviews/ReviewsController.java b/src/main/java/org/springframework/samples/kidclinic/reviews/ReviewsController.java new file mode 100644 index 000000000..dac61a53c --- /dev/null +++ b/src/main/java/org/springframework/samples/kidclinic/reviews/ReviewsController.java @@ -0,0 +1,45 @@ +/* + * Copyright 2002-2013 the original author or authors. + * + * Licensed 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 + * + * http://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. + */ +package org.springframework.samples.kidclinic.reviews; + +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; + +/** + * @author Juergen Hoeller + * @author Mark Fisher + * @author Ken Krebs + * @author Arjen Poutsma + */ +@Controller +class ReviewsController { + + @Autowired + public ReviewsController() { + } + + @RequestMapping(value = { "/reviews.html" }) + public String showReviews(Map model) { + // Here we are returning an object of type 'Doctors' rather than a collection of Doctor + // objects so it is simpler for Object-Xml mapping + return "reviews"; + } + +} From 8ee7d625f0b462c5f579393f2a7074c8880d7245 Mon Sep 17 00:00:00 2001 From: Sasank Vishnubhatla Date: Fri, 16 Jun 2017 15:19:18 +0000 Subject: [PATCH 07/15] Updated update script to pull for proper branch --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index a8db5878a..78da3ee27 100755 --- a/update.sh +++ b/update.sh @@ -1 +1 @@ -./kill.sh && git pull origin master && ./run.sh & +./kill.sh && git pull origin sasank && ./run.sh & From 1ed2428616d3bdf90c2d8e1b6ca289466f4e3359 Mon Sep 17 00:00:00 2001 From: Sasank Vishnubhatla Date: Fri, 16 Jun 2017 14:37:44 -0400 Subject: [PATCH 08/15] Removed example buttons --- src/main/resources/templates/welcome.html | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/resources/templates/welcome.html b/src/main/resources/templates/welcome.html index 9a1e36920..fcde0b08c 100644 --- a/src/main/resources/templates/welcome.html +++ b/src/main/resources/templates/welcome.html @@ -74,9 +74,6 @@

Creation

KidClinic is a platform to simplify healthcare, not for insurance companies but for you: the cutomers and the doctors. We want to streamline how records are managed and simplify the process of managing pediatric health. KidClinic expediates the oft tedious process of permissions for managing a minor's health, organizing the records in an intuitive but archivable mainframe.

-
@@ -97,9 +94,6 @@

Here at KidClinic, we want to ensure quality care and incorporate facets from disparate sources. This includes an interactive review function, where you can directly review doctors and influence their appearance on the search feature. Your insight makes a difference for future care, directly, immediately.You can also see other's reviews and comments to facilitate your decisions on care.

-
From d603c787e206bc49e81b75b6eaff8065bcb7d321 Mon Sep 17 00:00:00 2001 From: Sasank Vishnubhatla Date: Fri, 16 Jun 2017 14:45:51 -0400 Subject: [PATCH 09/15] Updated project name and home page --- pom.xml | 2 +- src/main/resources/templates/welcome.html | 134 +++++++++------------- 2 files changed, 53 insertions(+), 83 deletions(-) diff --git a/pom.xml b/pom.xml index 90d1f9570..6706442cc 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ spring-boot-starter-parent 1.5.1.RELEASE - petclinic + kidclinic diff --git a/src/main/resources/templates/welcome.html b/src/main/resources/templates/welcome.html index fcde0b08c..a607178e1 100644 --- a/src/main/resources/templates/welcome.html +++ b/src/main/resources/templates/welcome.html @@ -2,32 +2,23 @@ - - - - + + + + + + + - - - - - - - - - - - - - +