redis_store.database)
- newrelic/app_dynamics (e.g. turning off in dev env)cf set-env web-servlet-2-application JAVA_OPTS.YML < prod_config/java_opts.yml
Setting env variable 'JAVA_OPTS.YML' to '...' for app web-servlet-2-application in org myorg / space development as me@mecom...
OK
The "prod_config" directory is outside of the JAR/EAR artefact, usually under version control (e.g. git).
This means it does interfer with the app packaging and the app detection criteria.
App ops team would script it as shown below to make it reproductible:
for f in `ls prod_config/*.yml`; do cf set-env web-servlet-2-application $f < $f ; done
Setting env variable 'JAVA_OPTS.YML' to '...' for app web-servlet-2-application in org myorg / space development as me@mecom...
OK
Setting env variable 'TOMCAT.YML' to '...' for app web-servlet-2-application in org myorg / space development as me@mecom...
OK
Setting env variable 'postgresql_jdbc.yml' to '...' for app web-servlet-2-application in org myorg / space development as me@mecom...
OK
[1] http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#The_META-INF_directory
Thanks,
Guillaume.
Guillaume,
Can you elaborate a bit more on the problems you're encountering with security CVEs? The reason I ask is that we have a couple of the forks of the buildpack that we maintain (some public, some private) but we do so in an automated way that doesn't conflict in most cases. You can see our "Auto Merge Upstream" bot merging most commits into master without human intervention. I'd like to get a better understand of the pain you're feeling around this.
I'm also interested in getting an understanding of how many buildpack forks you currently maintain? I would have guessed a single fork for each environment but nothing particularly extensive (i.e. many applications using a few buildpacks depending on their application and deployment class). If you are seeing the need for many more buildpacks, what triggers that need?
redis_store.timeout, redis_store.connection_pool_sizeDoes the create-buildpack/update-buildpack functionality easy the burden at all?
In general, I agree that any application-specific configuration would come via environment variables rather than packed into the deployable artifact. I'm not convinced yet, but I'm hoping that your input from the earlier questions will help me solidify my opinions on it.