Skip to content

Files

Latest commit

b0ca7c9 · Jul 7, 2012

History

History
This branch is 659 commits ahead of vaske/stack:master.

config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 7, 2012
Oct 24, 2011
Oct 3, 2011
Global configuration properties

Standard configuration:

src/main/resources
	cassandra.yaml
	hazelcast.xml
	log4j.properties
	usergrid.properties

Test configuration:

src/test/resources
	cassandra.yaml
	hazelcast.xml
	log4j.properties
	usergrid.properties

Important configuration options in usergrid.properties:

cassandra.use_remote
cassandra.local.url
cassandra.remote.url

Make sure you're only running with cassandra.use_remote=false when testing and
that you're running with cassandra.use_remote=true when running in production.

You can override the properties by having a file named
usergrid-custom.properties in the classpath. This will get loaded after the
usergrid.properties file is loaded and will override any values with the same
names. This makes it easier to keep confidential credentials out of source
code version control.

The custom properties file location can be overriden at build-time by passing
the file location as a property parameter to maven.  For example:

mvn clean install -Dusergrid-custom-spring-properties=classpath:/usergrid-custom.properties