dngferreira / open-ehr-gen-framework

Automatically exported from code.google.com/p/open-ehr-gen-framework
0 stars 0 forks source link

Hacer que las rutas a archivos que se cargan en el bootstrap sean configurables #67

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Por ejemplo,

Hay rutas hardcoded en 
http://code.google.com/p/open-ehr-gen-framework/source/browse/trunk/open-ehr-gen
/grails-app/domain/tablasMaestras/Cie10Trauma.groovy

Eso lo hace dependiente del entorno.

Debería verse algo de configuraciones externas:

  * http://www.baselogic.com/blog/development/java-javaee-j2ee/getting-grails-external-configuration-working-in-the-real-world/
  * http://www.comitservices.com/wp/?p=133
  * http://johnrellis.blogspot.com/2010/11/grails-quick-tip-external-configs.html
  * http://grails.1312388.n4.nabble.com/loading-external-BootStrap-groovy-td3388490.html
  * http://stackoverflow.com/questions/5654416/access-settings-in-buildconfig
  * http://jermdemo.blogspot.com/2009/05/loading-files-in-grails-bootstrap.html
  * http://grails.1312388.n4.nabble.com/Load-data-from-file-during-BootStrap-td1360581.html

Original issue reported on code.google.com by pablo.swp@gmail.com on 17 Aug 2012 at 3:20

GoogleCodeExporter commented 9 years ago
Idea de config recargable: http://www.grails.org/plugin/reloadable-config

Original comment by pablo.swp@gmail.com on 17 Aug 2012 at 3:34