
usergrid.cluster_name=usergrid

# core persistence properties

cassandra.embedded=false
cassandra.version=1.2.0
cassandra.timeout=2000

collections.keyspace=Usergrid_Applications
collections.keyspace.strategy.options=replication_factor:1
collections.keyspace.strategy.class=org.apache.cassandra.locator.SimpleStrategy

collection.stage.transient.timeout=60
collection.max.entity.size=5000000

hystrix.threadpool.graph_user.coreSize=40
hystrix.threadpool.graph_async.coreSize=40

elasticsearch.embedded=false
elasticsearch.cluster_name=elasticsearch
elasticsearch.index_prefix=usergrid
elasticsearch.hosts=127.0.0.1
elasticsearch.port=9300

elasticsearch.force_refresh=true

index.query.limit.default=100

# Max Cassandra connections, applies to both CP and EM
cassandra.connections=600

######################################################
# Minimal Usergrid configuration properties for local Tomcat and Cassandra 
#

cassandra.url=127.0.0.1:9160

cassandra.keyspace.strategy=org.apache.cassandra.locator.SimpleStrategy
cassandra.keyspace.strategy.options.replication_factor=1

######################################################
# Custom mail transport 

mail.transport.protocol=smtps
mail.smtps.host=smtp.gmail.com
mail.smtps.port=465
mail.smtps.auth=true
mail.smtps.username=
mail.smtps.password=
mail.smtps.quitwait=false

######################################################
# Admin and test user setup

usergrid.sysadmin.login.name=superuser
usergrid.sysadmin.login.email=javaperson@163.com
usergrid.sysadmin.login.password=test
usergrid.sysadmin.login.allowed=true
usergrid.sysadmin.email=javaperson@163.com

usergrid.sysadmin.approve.users=false
usergrid.sysadmin.approve.organizations=false

# Base mailer account - default for all outgoing messages
usergrid.management.mailer=User <javaperson@163.com>

usergrid.setup-test-account=true

usergrid.test-account.app=test-app
usergrid.test-account.organization=test-organization
usergrid.test-account.admin-user.username=test
usergrid.test-account.admin-user.name=Test User
usergrid.test-account.admin-user.email=javaperson@163.com
usergrid.test-account.admin-user.password=test

######################################################
# Auto-confirm and sign-up notifications settings

usergrid.management.admin_users_require_confirmation=false
usergrid.management.admin_users_require_activation=false

usergrid.management.organizations_require_activation=false
usergrid.management.notify_sysadmin_of_new_organizations=true
usergrid.management.notify_sysadmin_of_new_admin_users=true
######################################################
# URLs

# Redirect path when request come in for TLD
usergrid.redirect_root=http://127.0.0.1:8080/status

usergrid.view.management.organizations.organization.activate=http://127.0.0.1:8080/accounts/welcome
usergrid.view.management.organizations.organization.confirm=http://127.0.0.1:8080/accounts/welcome
usergrid.view.management.users.user.activate=http://127.0.0.1:8080/accounts/welcome
usergrid.view.management.users.user.confirm=http://127.0.0.1:8080/accounts/welcome

usergrid.organization.activation.url=http://127.0.0.1:8080/management/organizations/%s/activate
usergrid.admin.activation.url=http://127.0.0.1:8080/management/users/%s/activate
usergrid.admin.resetpw.url=http://127.0.0.1:8080/management/users/%s/resetpw
usergrid.admin.confirmation.url=http://127.0.0.1:8080/management/users/%s/confirm
usergrid.user.activation.url=http://127.0.0.1:8080%s/%s/users/%s/activate
usergrid.user.confirmation.url=http://127.0.0.1:8080/%s/%s/users/%s/confirm
usergrid.user.resetpw.url=http://127.0.0.1:8080/%s/%s/users/%s/resetpw


