Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 0.2.2
-
Fix Version/s: 1.2-M4
-
Component/s: Configuration
-
Labels:None
Description
3 Datasources for prod/test/dev are created automatically by Grails if a new applciation is created.
Unfortunately, there is just one ApplicationBootstrap class. I (probably others) use the bootstrap to create a certain state in the db for my production/test environment, e.g. deleting all tables, then creating new rows, etc. The bootstrap for production needs to be different, of course.
The proposal is to have at least 3 BootStraps that are chosen based on the environment in:
From Guillaume:
What about some convention in the naming of the bootstrap classes?
DevEnvBootstrap, ProdEnvBootstrap, *EnvBootstrap ?
Cheers\
Sven
Rolling over to 0.5.5 reduce workload for 0.5 pre JavaOne