killbill-server.properties

90 lines | 2.917 kB Blame History Raw Download
#
# Copyright 2010-2013 Ning, Inc.
# Copyright 2014 Groupon, Inc
# Copyright 2014 The Billing Project, LLC
#
# The Billing Project 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.
#

org.killbill.jruby.context.version=RUBY2_0

#
# KILLBILL GENERIC PROPERTIES
#
# Database config
org.killbill.dao.url=jdbc:mysql://127.0.0.1:3306/killbill
org.killbill.dao.user=root
org.killbill.dao.password=root
org.killbill.dao.logLevel=DEBUG

# Use the SpyCarAdvanced.xml catalog
org.killbill.catalog.uri=SpyCarAdvanced.xml

# NotificationQ, Bus, ExtBus config
org.killbill.notificationq.main.sleep=100
org.killbill.notificationq.main.claimed=1
org.killbill.notificationq.main.queue.mode=STICKY_POLLING
org.killbill.notificationq.main.notification.nbThreads=1

org.killbill.persistent.bus.external.queue.mode=STICKY_EVENTS
org.killbill.persistent.bus.external.inMemory=true

#org.killbill.persistent.bus.external.queue.mode=STICKY_EVENTS
#org.killbill.persistent.bus.external.claimed=1
#org.killbill.persistent.bus.external.nbThreads=1
#org.killbill.persistent.bus.external.sleep=0
#org.killbill.persistent.bus.external.queue.capacity=100

org.killbill.persistent.bus.main.queue.mode=STICKY_EVENTS
org.killbill.persistent.bus.main.claimed=1
org.killbill.persistent.bus.main.nbThreads=1
org.killbill.persistent.bus.main.sleep=0
org.killbill.persistent.bus.main.queue.capacity=100

# Start KB in multi-tenant
org.killbill.server.multitenant=true

# Override polling from Tenant Broadcast Task
org.killbill.tenant.broadcast.rate=1s

#
# PLUGIN SPECIFIC PROPERTIES
#
# Database config (OSGI plugins)
org.killbill.billing.osgi.dao.url=jdbc:mysql://127.0.0.1:3306/killbill
org.killbill.billing.osgi.dao.user=root
org.killbill.billing.osgi.dao.password=root

# Allow jruby concurrency
org.killbill.jruby.context.scope=THREADSAFE

# Path for plugin config
#org.killbill.billing.osgi.bundles.jruby.conf.dir=your_path
# Config property files for plugin to access
#org.killbill.server.properties=file:///this_file

#
# INTEGRATION TESTS ONLY
#
# To enable test endpoint and have Kill Bill run with a ClockMock (should not be used for production server)
org.killbill.server.test.mode=true

# Set payment calls to timeout after 5 sec -- mostly for integration tests
org.killbill.payment.plugin.timeout=5s

org.killbill.payment.retry.days=1,1,1


org.killbill.notificationq.analytics.tableName=analytics_notifications
org.killbill.notificationq.analytics.historyTableName=analytics_notifications_history