# Licensed to the Apache Software Foundation (ASF) under one or more
#  contributor license agreements.  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.  For additional information regarding
# copyright in this work, please see the NOTICE file in the top level
# directory of this distribution.

# planet.properties
#
# This file is for meant for Roller deployment properties
# Any properties that don't change at runtime are defined here
#
# You can override the values in this file in a couple ways ..
#   1. define a planet-custom.properties file and place it somewhere
#       at the root of one of your classpath locations.
#       for example:
#           $TOMCAT_HOME/common/classes
#           $PLANET_LOCATION/WEB-INF/classes
#
#   2. specify a custom properties file via jvm option
#       example:
#           planet.custom.config=/path/to/properties/file
#
#   **NOTE: if you run multiple instances of roller on the same server
#           then you should beware of the fact that the override options above
#           may affect *all* of you running instances.  if you want to do
#           custom overrides for each instance then you must do it by
#           placing a planet-custom.properties file at WEB-INF/classes/ in
#           each of you planet installations.
#
# properties in this file are accessed like this ...
#    PlanetConfig.getProperty("propname");


#----------------------------------------------------
# Manditory properties
# You MUST ensure that these properies are set correctly.
# If not, you MUST override them in your planet-custom.properties file.

cache.dir=/var/planet/cache
output.dir=/usr/local/planet/webapp
template.dir=/usr/local/planet/webapp/WEB-INF/templates

# Specify database configuration type of 'jndi' or 'jdbc'
database.configurationType=jndi

# For database configuration type 'jndi',this will be used
database.jndi.name=jdbc/rollerdb

# For database configuration type of 'jdbc', you MUST override these
database.jdbc.driverClass=
database.jdbc.connectionURL=
database.jdbc.username=
database.jdbc.password=

# Hibernate settings
hibernate.dialect=org.hibernate.dialect.MySQLDialect


#----------------------------------------------------
# Optional properties

# Pluggable backend
planet.provider.class=org.apache.roller.planet.business.GuicePlanetProvider

# default guice module
guice.backend.module=org.apache.roller.planet.business.jpa.JPAPlanetModule

# The set of default Roller renderer factories.
rendering.rollerRendererFactories=\
org.apache.roller.planet.ui.rendering.velocity.VelocityRendererFactory

# The set of user defined renderer factories.  These are prepended to the list above.
rendering.userRendererFactories=

# The set of default Roller request mappers
rendering.rollerRequestMappers=\
org.apache.roller.planet.ui.rendering.MultiPlanetRequestMapper

# The set of user defined request mappers.  These are prepended to the list above.
rendering.userRequestMappers=

# Url path elements which can NEVER be considered a weblog url
# each represents a url at the application root, i.e. /<elem>/*
rendering.multiPlanetMapper.rollerProtectedUrls=\
planet-ui,index.jsp,favicon.ico,robots.txt

# Set of user defined protected urls.  These are added to the set above.
rendering.multiPlanetMapper.userProtectedUrls=

rendering.homepageModels=\
org.apache.roller.planet.ui.rendering.model.SiteModel,\
org.apache.roller.planet.ui.rendering.model.SiteURLModel,\
org.apache.roller.planet.ui.rendering.model.UtilitiesModel

rendering.pageModels=\
org.apache.roller.planet.ui.rendering.model.PageModel,\
org.apache.roller.planet.ui.rendering.model.PlanetURLModel,\
org.apache.roller.planet.ui.rendering.model.UtilitiesModel

rendering.feedModels=\
org.apache.roller.planet.ui.rendering.model.FeedModel,\
org.apache.roller.planet.ui.rendering.model.PlanetURLModel,\
org.apache.roller.planet.ui.rendering.model.UtilitiesModel

rendering.opmlModels=\
org.apache.roller.planet.ui.rendering.model.PlanetGroupModel,\
org.apache.roller.planet.ui.rendering.model.PlanetURLModel,\
org.apache.roller.planet.ui.rendering.model.UtilitiesModel
