blob: 085a11dcdb24fa39fc05ad48d3d34c884b8a4a0a [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Usergrid configuration properties
# Loaded by Spring PropertyPlaceholderConfigurer
#
#
# Do not put installation-specific or confidential
# configuration settings here if you plan to push
# this to GitHub
#
# Put your settings in usergrid-custom-test.properties
# instead.
#
# This property is required to be set and cannot be defaulted anywhere
usergrid.cluster_name=usergrid
# Set this for testing purposesly only
usergrid.test=true
# Whether to user the remote Cassandra cluster or not
cassandra.use_remote=false
# URL for local testing Cassandra cluster
cassandra.url=localhost:9160
# Name of Cassandra cluster
cassandra.cluster=Test Cluster
cassandra.keyspace.strategy=org.apache.cassandra.locator.SimpleStrategy
#cassandra.keyspace.strategy=org.apache.cassandra.locator.NetworkTopologyStrategy
#cassandra.keyspace.strategy.options.replication_factor=1
#cassandra.keyspace.strategy.options.us-east=1
cassandra.keyspace.replication=replication_factor:1
cassandra.username=
cassandra.password=
#Read consistency level for the cassandra cluster
cassandra.readcl=QUORUM
#Write consistency level for the cassandra cluster
cassandra.writecl=QUORUM
#Keyspace to use for locking
cassandra.lock.keyspace=Locks
elasticsearch.startup=external
elasticsearch.cluster_name=elasticsearch
#Not a good number for real systems. Write shards should be 2x cluster size from our tests
#This is just way more efficient for a single node and the number of shards we're creating
elasticsearch.number_shards=1
elasticsearch.number_replicas=0
elasticsearch.management_number_shards=1
elasticsearch.management_number_replicas=0
#Properties to control the number of buckets in the index.
usergrid.index.defaultbucketsize=20
usergrid.counter.skipAggregate=false
usergrid.version.database=1.0.0
usergrid.version.schema=1.0.0
usergrid.version.properties=1.0.0
# build number for display
usergrid.version.build=0.1
# --- Start: Usergrid cluster/actor system settings
usergrid.cluster.enabled=true
usergrid.cluster.hostname=localhost
usergrid.cluster.region.local=us-east
usergrid.cluster.region.list=us-east
usergrid.cluster.seeds=us-east\:localhost
collection.uniquevalues.actors=300
collection.uniquevalues.authoritative.region=us-east
# --- End: Usergrid cluster/actor system settings
usergrid.counter.batch.interval=10
#usergrid.auth.token_secret_salt=super secret token value
#usergrid.auth.token_expires_from_last_use=false
#usergrid.auth.token_refresh_reuses_id=false
# max time to persist tokens for (milliseconds)
#usergrid.auth.token.persist.expires=0
# expiration age for oauth access tokens (milliseconds)
#usergrid.auth.token.access.expires=0
# expiration age for oauth refresh tokens (milliseconds)
#usergrid.auth.token.refresh.expires=0
# max age for offline tokens (milliseconds)
#usergrid.auth.token.offline.expires=0
# max age for email tokens (milliseconds)
#usergrid.auth.token.email.expires=0
# SysAdmin login
usergrid.sysadmin.login.name=superuser
usergrid.sysadmin.login.email=superuser@usergrid.com
usergrid.sysadmin.login.password=superpassword
usergrid.sysadmin.login.allowed=true
usergrid.binary.bucketname=usergrid-test-bucket
# Where to store temporary files
usergrid.temp.files=/tmp/usergrid
usergrid.api.url.base=http://localhost:8080
AWS_ACCESS_KEY_ID=
AWS_ACCESS_KEY_SECRET=
# Disable Mongo API Server
usergrid.mongo.disable=false
# Disable WebSocket Server
usergrid.websocket.disable=true
mail.transport.protocol=smtp
mail.store.protocol=imap
mail.smtp.host=usergrid.com
mail.smtp.username=testuser
mail.smtp.password=testpassword
zk.connect=127.0.0.1:2181
serializer.class=kafka.serializer.StringEncoder
zk.connectiontimeout.ms=1000000
groupid=counter_group
autooffset.reset=smallest
# set high batch size to minimize count overhead
usergrid.counter.batch.size=1
usergrid.recaptcha.public=
usergrid.recaptcha.private=
usergrid.sysadmin.email=
usergrid.admin.sysadmin.email=testadmin@usergrid.com
usergrid.management.admin_users_require_confirmation=false
usergrid.management.admin_users_require_activation=false
usergrid.management.notify_admin_of_activation=false
usergrid.management.organizations_require_confirmation=false
usergrid.management.organizations_require_activation=false
usergrid.management.notify_sysadmin_of_new_organizations=false
usergrid.management.notify_sysadmin_of_new_admin_users=false
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=test@usergrid.com
usergrid.test-account.admin-user.password=test
usergrid.redirect_root=
usergrid.management.mailer=Usergrid Mailer <mailer@usergrid.com>
# email footer
usergrid.management.email.footer=\
<p></p>\n
###############################################################################
#
# Sysadmin notifications
#
# email to sysadmin to notify new organization has been activated
usergrid.management.email.sysadmin-organization-activated=\
<p>Organization account for ${organization_name}, owned by ${organization_owners}, \
has been successfully activated.</p>
# email to sysadmin to notify new admin has been activated
usergrid.management.email.sysadmin-admin-activated=\
<p>Admin user account for ${user_email}has been successfully activated.</p>
###############################################################################
#
# Organization approval flow
#
# email to sysadmin to approve and activate new organization
usergrid.management.email.sysadmin-organization-activation=\
<p>To activate the organization account for ${organization_name}, owned by ${organization_owners}, \
click here:</p>\n<p><a href="${activation_url}">${activation_url}</a></p>
# email to organization owner to request confirmation
usergrid.management.email.organization-confirmation=\
<p>To confirm your organization account, click here:</p>\n\
<p><a href="${confirmation_url}">${confirmation_url}</a></p>
# email to organization owner to notify approval is pending
usergrid.management.email.organization-activation-pending=\
<p>Your organization account ${organization_name} is awaiting approval.</p>
# email to organization owner to notify organization is active
usergrid.management.email.organization-activated=\
<p>Your organization account ${organization_name} has been successfully activated.</p>
###############################################################################
#
# Admin approval flow
#
# email to sysadmin to approve and activate new admin
usergrid.management.email.sysadmin-admin-activation=\
<p>To activate the user account for ${user_email}, click here:</p>\n\
<p><a href="${activation_url}">${activation_url}</a></p>
# email to admin user to confirm email
usergrid.management.email.admin-confirmation=\
<p>To confirm your email address ${confirm_email}, click here:</p>\n\
<p><a href="${confirmation_url}">${confirmation_url}</a></p>
# email to admin user to notify email has been confirmed
usergrid.management.email.admin-confirmed=\
<p>Your email address ${confirmed_email} has been confirmed.</p>\n\
<p>You will receive another email with your account has been activated.</p>
# email to admin to notify account is active
usergrid.management.email.admin-activated=\
<p>Your user account has been successfully activated.</p>
# email to admin to notify account has been added to an organization
usergrid.management.email.admin-invited=\
<p>Your user account has been added to the organization ${organization_name}.</p>
# email to admin for password reset
usergrid.management.email.admin-password-reset=\
<p>To reset your password, click here:</p>\n\
<p><a href="${reset_url}">${reset_url}</a></p>
###############################################################################
#
# User approval flow
#
# email to admin to approve and activate new app user
usergrid.management.email.admin-user-activation=\
<p>To activate the user account for ${user_email}, click here:</p>\n\
<p><a href="${activation_url}">${activation_url}</a></p>
# email to user to request activation
usergrid.management.email.user-confirmation=\
<p>To confirm your user account, click here:</p>\n\
<p><a href="${confirmation_url}">${confirmation_url}</a></p>
# email to user to notify account is confirmed
usergrid.management.email.user-confirmed=\
<p>Your user account has been successfully confirmed.</p>\n\
<p>You will receive another email with your account has been activated.</p>
# email to user to notify account is active
usergrid.management.email.user-activated=\
<p>Your user account has been successfully activated.</p>
# email to user to reset password
usergrid.management.email.user-password-reset=\
<p>To reset your password, click here:</p>\n\
<p><a href="${reset_url}">${reset_url}</a></p>
# email to admin to notify new app user has been successfully activated
usergrid.management.email.admin-user-activated=\
<p>User account for ${user_email} has been successfully activated</p>
###############################################################################
#
# email to user to recover pin
usergrid.management.email.user-pin=\
<p>Your application pin is:</p>\n\
<p>${pin}</p>
###############################################################################
#
# Redirect urls to use instead of internal JSPs. Not all of these should be
# overridden since many of them need to have parameters set
#
#usergrid.view.applications.users.user.error=
#usergrid.view.applications.users.user.resetpw_email_form=
#usergrid.view.applications.users.user.resetpw_set_form=
#usergrid.view.applications.users.user.resetpw_set_success=
#usergrid.view.applications.users.user.activate=
#usergrid.view.applications.users.user.bad_activation_token=
#usergrid.view.applications.users.user.confirm=
#usergrid.view.applications.users.user.bad_confirmation_token=
#usergrid.view.applications.users.users.error=
#usergrid.view.applications.users.users.resetpw_email_form=
#usergrid.view.applications.users.users.resetpw_email_success=
#usergrid.view.applications.application.error=
#usergrid.view.applications.application.authorize_form=
#usergrid.view.management.management.error=
#usergrid.view.management.management.authorize_form=
#usergrid.view.management.organizations.organization.error=
#usergrid.view.management.organizations.organization.bad_activation_token=
#usergrid.view.management.users.user.error=
#usergrid.view.management.users.user.resetpw_email_form=
#usergrid.view.management.users.user.resetpw_set_form=
#usergrid.view.management.users.user.resetpw_set_success=
#usergrid.view.management.users.user.bad_activation_token=
#usergrid.view.management.users.user.bad_confirmation_token=
#usergrid.view.management.users.users.resetpw_email_form=
#usergrid.view.management.users.users.resetpw_email_success=
#usergrid.view.management.users.users.error=
#usergrid.view.test.test=