diff --git a/docker-compose.yml b/docker-compose.yml
deleted file mode 100644
index 5166fe90f..000000000
--- a/docker-compose.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-mysql:
- image: mysql:5.7
- ports:
- - "3306:3306"
- environment:
- - MYSQL_ROOT_PASSWORD=
- - MYSQL_ALLOW_EMPTY_PASSWORD=true
- - MYSQL_USER=petclinic
- - MYSQL_PASSWORD=petclinic
- - MYSQL_DATABASE=petclinic
- volumes:
- - "./conf.d:/etc/mysql/conf.d:ro"
diff --git a/src/main/java/org/springframework/cheapy/CheapyApplication.java b/src/main/java/org/springframework/cheapy/CheapyApplication.java
index 2912ee3d8..3df17e2bb 100644
--- a/src/main/java/org/springframework/cheapy/CheapyApplication.java
+++ b/src/main/java/org/springframework/cheapy/CheapyApplication.java
@@ -20,7 +20,7 @@ import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
- * PetClinic Spring Boot Application.
+ * Cheapy Spring Boot Application.
*
* @author Dave Syer
*
diff --git a/src/main/java/org/springframework/cheapy/system/CacheConfiguration.java b/src/main/java/org/springframework/cheapy/system/CacheConfiguration.java
index d5df44632..e52087fb7 100755
--- a/src/main/java/org/springframework/cheapy/system/CacheConfiguration.java
+++ b/src/main/java/org/springframework/cheapy/system/CacheConfiguration.java
@@ -33,7 +33,7 @@ import org.springframework.context.annotation.Configuration;
class CacheConfiguration {
@Bean
- public JCacheManagerCustomizer petclinicCacheConfigurationCustomizer() {
+ public JCacheManagerCustomizer cheapyCacheConfigurationCustomizer() {
return cm -> {
cm.createCache("vets", cacheConfiguration());
};
diff --git a/src/main/less/petclinic.less b/src/main/less/cheapy.less
similarity index 100%
rename from src/main/less/petclinic.less
rename to src/main/less/cheapy.less
diff --git a/src/main/resources/db/mysql/cheapy_db_setup_mysql.txt b/src/main/resources/db/mysql/cheapy_db_setup_mysql.txt
index 29bb601fe..d1ec8149b 100644
--- a/src/main/resources/db/mysql/cheapy_db_setup_mysql.txt
+++ b/src/main/resources/db/mysql/cheapy_db_setup_mysql.txt
@@ -1,5 +1,5 @@
================================================================================
-=== Spring PetClinic sample application - MySQL Configuration ===
+=== Spring Cheapy sample application - MySQL Configuration ===
================================================================================
@author Sam Brannen
@@ -18,15 +18,15 @@
mysql_1_eedb4818d817 | MySQL init process done. Ready for start up.
...
-2) (Once only) create the PetClinic database and user by executing the "db/mysql/user.sql"
+2) (Once only) create the Cheapy database and user by executing the "db/mysql/user.sql"
scripts. You can connect to the database running in the docker container using
`mysql -u root -h localhost --protocol tcp`, but you don't need to run the script there
- because the petclinic user is already set up if you use the provided `docker-compose.yaml`.
+ because the cheapy user is already set up if you use the provided `docker-compose.yaml`.
3) Run the app with `spring.profiles.active=mysql` (e.g. as a System property via the command
line, but any way that sets that property in a Spring Boot app should work).
-N.B. the "petclinic" database has to exist for the app to work with the JDBC URL value
+N.B. the "cheapy" database has to exist for the app to work with the JDBC URL value
as it is configured by default. This condition is taken care of automatically by the
docker-compose configuration provided, or by the `user.sql` script if you run that as
root.
diff --git a/src/main/webapp/WEB-INF/jsp/exception.jsp b/src/main/webapp/WEB-INF/jsp/exception.jsp
index d030d595d..6eba2b51b 100644
--- a/src/main/webapp/WEB-INF/jsp/exception.jsp
+++ b/src/main/webapp/WEB-INF/jsp/exception.jsp
@@ -1,8 +1,8 @@
<%@ page session="false" trimDirectiveWhitespaces="true" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
-<%@ taglib prefix="petclinic" tagdir="/WEB-INF/tags" %>
+<%@ taglib prefix="cheapy" tagdir="/WEB-INF/tags" %>
-
+
@@ -11,4 +11,4 @@