| # 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.properties |
| # instead. |
| # |
| |
| # Whether to user the remote Cassandra cluster or not |
| |
| # URL for local testing Cassandra cluster |
| cassandra.url=localhost:9160 |
| |
| # The number of thrift connections to open per cassandra node. |
| cassandra.connections=50 |
| |
| # Name of Cassandra cluster |
| cassandra.cluster=Test Cluster |
| |
| # Keyspace names to be used (see also the locks keyspace below) |
| cassandra.system.keyspace=Usergrid |
| cassandra.application.keyspace=Usergrid_Applications |
| |
| 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=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 |
| |
| # The maximum number of pending mutations allowed in ram before it is flushed to cassandra |
| cassandra.mutation.flushsize=2000 |
| |
| # Keyspace to use for locking - Used by Hector lock manager: |
| # Note that if this is deployed in a production cluster, the RF on the keyspace MUST |
| # be updated to use an odd number for it's replication Factor. Even numbers for RF can |
| # potentially case the locks to fail, via "split brain" when read at QUORUM on lock verification |
| cassandra.lock.keyspace=Locks |
| |
| # false to disable test features |
| usergrid.test=false |
| |
| #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=${version} |
| |
| usergird.service.packages=com.usergrid.services;org.apache.usergrid.services;baas.io |
| |
| #Batch submit counters ever 1000 updates |
| usergrid.counter.batch.size=1000 |
| |
| #Submit batcher every 30 seconds |
| usergrid.counter.batch.interval=30 |
| |
| #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= |
| usergrid.sysadmin.login.email= |
| usergrid.sysadmin.login.password= |
| usergrid.sysadmin.login.allowed=false |
| |
| usergrid.sysadmin.approve.users=false |
| usergrid.sysadmin.approve.organizations=false |
| |
| # Base URL of central Usergrid SSO server: |
| # Setting this will enable External Token Validation for Admin Users and will configure |
| # this Usergrid instance delegate all Admin User authentication to the central Usegrid SSO |
| # server. See also: https://issues.apache.org/jira/browse/USERGRID-567 |
| usergrid.central.url= |
| |
| # HTTP Client connection pool for connections from SSO client system `to SSO central |
| usergrid.central.connection.pool.size=40; |
| usergrid.central.connection.timeout=10000; |
| usergrid.central.read.timeout=10000 |
| |
| # Where to store temporary files |
| usergrid.temp.files=/tmp/usergrid |
| |
| |
| #The timeout in locks from reading messages transitionally from a queue. Number of seconds to wait |
| usergrid.queue.lock.timeout=5 |
| |
| ###### |
| #Scheduler setup |
| ###### |
| |
| #Time in milliseconds that a job can be started without a heartbeat before being considered dead. |
| #Note that this must be high enough so that jobs that are iteration based can run an iteration and update the heartbeat |
| usergrid.scheduler.job.timeout=120000 |
| #The path to the queue in the managment app to get jobs from |
| usergrid.scheduler.job.queueName=/jobs |
| #The number of executor threads to allow |
| usergrid.scheduler.job.workers=4 |
| #Poll interval to check for new jobs in millseconds. 5 seconds is the default. It will run all jobs up to current so this won't limit throughput |
| usergrid.scheduler.job.interval=5000 |
| #The max number of times a job can fail before removing it permanently. Note that this count is INCLUSIVE. |
| #If the value is 10, the 11th fail will mark the job as dead |
| usergrid.scheduler.job.maxfail=10 |
| |
| # Zookeeper instances |
| zookeeper.hosts=localhost:2180 |
| zookeeper.sessionTimeout = 3000 |
| zookeeper.maxAttempts = 3 |
| |
| swagger.basepath=http://localhost:8080 |
| |
| AWS_ACCESS_KEY_ID= |
| AWS_SECRET_KEY= |
| usergrid.binary.bucketname=usergrid-test |
| |
| usergrid.test.sample_data_url= |
| |
| # Disable Mongo API Server |
| usergrid.mongo.disable=true |
| |
| # Disable WebSocket Server |
| usergrid.websocket.disable=true |
| |
| mail.transport.protocol= |
| mail.smtps.host= |
| mail.smtps.port= |
| mail.smtps.auth= |
| mail.smtps.username= |
| mail.smtps.password= |
| mail.smtps.quitwait= |
| |
| zk.connect=127.0.0.1:2181 |
| serializer.class=kafka.serializer.StringEncoder |
| zk.connectiontimeout.ms=1000000 |
| groupid=counter_group |
| autooffset.reset=smallest |
| |
| usergrid.organization.activation.url=http://localhost:8080/ROOT/management/organizations/%s/activate |
| usergrid.admin.activation.url=http://localhost:8080/ROOT/management/users/%s/activate |
| usergrid.admin.confirmation.url=http://localhost:8080/ROOT/management/users/%s/confirm |
| usergrid.admin.resetpw.url=http://localhost:8080/ROOT/management/users/%s/resetpw |
| usergrid.user.activation.url=http://localhost:8080/ROOT/%s/%s/users/%s/activate |
| usergrid.user.confirmation.url=http://localhost:8080/ROOT/%s/%s/users/%s/confirm |
| usergrid.user.resetpw.url=http://localhost:8080/ROOT/%s/%s/users/%s/resetpw |
| |
| usergrid.recaptcha.public= |
| usergrid.recaptcha.private= |
| |
| usergrid.sysadmin.email= |
| |
| 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> |
| |
| |
| # graphite server |
| usergrid.metrics.graphite.host=badhost |
| |
| ############################################################################### |
| # |
| # 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.activate= |
| #usergrid.view.management.organizations.organization.bad_activation_token= |
| #usergrid.view.management.organizations.organization.confirm= |
| |
| #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.activate= |
| #usergrid.view.management.users.user.bad_activation_token= |
| #usergrid.view.management.users.user.confirm= |
| #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= |
| |
| |