Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Generated with Spring Roo using standard clinic.roo script.
Browse files Browse the repository at this point in the history
Then modified (using Roo) to run postgres
  • Loading branch information
Jesper Joergensen committed Oct 7, 2011
0 parents commit 3f3d2ec
Show file tree
Hide file tree
Showing 168 changed files with 7,691 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
target
59 changes: 59 additions & 0 deletions log.roo
@@ -0,0 +1,59 @@
// Spring Roo 1.1.5.RELEASE [rev d3a68c3] log opened at 2011-10-06 22:50:57
project --topLevelPackage com.springsource.petclinic
persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
enum type --class ~.reference.PetType
enum constant --name Dog
enum constant --name Cat
enum constant --name Bird
enum type --class ~.reference.Specialty
enum constant --name Cardiology
enum constant --name Dentistry
enum constant --name Nutrition
entity --class ~.domain.Pet --testAutomatically
entity --class ~.domain.Visit --testAutomatically
entity --class ~.domain.AbstractPerson --abstract
entity --class ~.domain.Vet --extends ~.domain.AbstractPerson --testAutomatically
entity --class ~.domain.Owner --extends ~.domain.AbstractPerson --testAutomatically
field string --fieldName firstName --sizeMin 3 --sizeMax 30 --class ~.domain.AbstractPerson
field string --fieldName lastName --notNull --sizeMin 3 --sizeMax 30
field string --fieldName address --notNull --sizeMax 50 --sizeMin 1
field string --fieldName city --notNull --sizeMax 30
field string --fieldName telephone --notNull
field string --fieldName homePage --sizeMax 30
field string --fieldName email --sizeMax 30 --sizeMin 6
field date --fieldName birthDay --type java.util.Date --notNull
field string --fieldName description --sizeMax 255 --class ~.domain.Visit
field date --fieldName visitDate --type java.util.Date --notNull --past
field reference --fieldName pet --type ~.domain.Pet --notNull
field reference --fieldName vet --type ~.domain.Vet
field boolean --fieldName sendReminders --notNull --primitive --class ~.domain.Pet
field string --fieldName name --notNull --sizeMin 1
field number --fieldName weight --type java.lang.Float --notNull --min 0
field reference --fieldName owner --type ~.domain.Owner
field enum --fieldName type --type ~.reference.PetType --notNull
field date --fieldName employedSince --type java.util.Calendar --notNull --past --class ~.domain.Vet
field enum --fieldName specialty --type ~.reference.Specialty --notNull false
field set --class ~.domain.Owner --fieldName pets --type ~.domain.Pet --mappedBy owner --notNull false --cardinality ONE_TO_MANY
finder add --finderName findPetsByNameAndWeight --class ~.domain.Pet
finder add --finderName findPetsByOwner
finder add --finderName findPetsBySendRemindersAndWeightLessThan
finder add --finderName findPetsByTypeAndNameLike
finder add --finderName findVisitsByDescriptionAndVisitDate --class ~.domain.Visit
finder add --finderName findVisitsByVisitDateBetween
finder add --finderName findVisitsByDescriptionLike
web mvc setup
web mvc all --package ~.web
web mvc language --code de
web mvc language --code es
selenium test --controller ~.web.OwnerController
selenium test --controller ~.web.PetController
selenium test --controller ~.web.VetController
selenium test --controller ~.web.VisitController
logging setup --level INFO
// script --file clinic.roo
quit
// Spring Roo 1.1.5.RELEASE [rev d3a68c3] log closed at 2011-10-06 22:51:21
// Spring Roo 1.1.5.RELEASE [rev d3a68c3] log opened at 2011-10-06 22:51:32
persistence setup --provider HIBERNATE --database POSTGRES
quit
// Spring Roo 1.1.5.RELEASE [rev d3a68c3] log closed at 2011-10-06 22:51:44

0 comments on commit 3f3d2ec

Please sign in to comment.