blob: 9543cbf74f2c20696fdce196309c666d38b8030c [file]
# 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.
# used during mvn jetty:run, not Roller testing (mvn test)
# creates the schema during startup so jetty:run comes up ready to use
installation.type=ittest
planet.aggregator.enabled=true
database.configurationType=jdbc
database.jdbc.driverClass=org.apache.derby.jdbc.ClientDriver
# In-memory Derby database activated via db-utils module
database.jdbc.connectionURL=jdbc:derby://localhost:4224/memory:rollerdb;create=true
database.jdbc.username=app
database.jdbc.password=app
hibernate.dialect=org.hibernate.dialect.DerbyDialect
hibernate.transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory
#see http://wiki.eclipse.org/EclipseLink/Examples/JPA/Logging
#eclipselink.logging.file=target/eclipselink.log
# OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, ALL
#eclipselink.logging.level=FINER
# use plain text passwords in testing
passwds.encryption.enabled=false
# use src copy of themes for read-only access
themes.dir=${basedir}/../app/src/main/webapp/themes
# put work in work dir
search.index.dir =${project.build.directory}/work/search-index
uploads.dir =${project.build.directory}/work/uploadsdir
mediafiles.storage.dir =${project.build.directory}/work/mediafiles
# don't auto migrate during tests
uploads.migrate.auto=false
# override tasks.enabled so we can add a test task
tasks.enabled=ScheduledEntriesTask,ResetHitCountsTask,PingQueueTask,TestTask
# test task
tasks.TestTask.class=org.apache.roller.weblogger.business.TestTask
tasks.TestTask.startTime=immediate
tasks.TestTask.interval=1800
tasks.TestTask.leaseTime=300
# turn on theme reloading
themes.reload.mode=true
# turn off caching for testing/debugging
cache.sitewide.enabled=false
cache.weblogpage.enabled=false
cache.weblogfeed.enabled=false
cache.planet.enabled=false
# Authentication defaults to Roller's own user database, which needs no extra
# services. To develop against OIDC instead, start Keycloak with
# "docker compose up -d keycloak", add "127.0.0.1 keycloak" to your hosts file
# so the issuer resolves the same here and in the browser, then uncomment:
#authentication.method=oidc
#oidc.keycloak.client-id=web_app
#oidc.keycloak.client-secret=web_app
#oidc.keycloak.issuer-uri=http://keycloak:9080/realms/roller
#oidc.keycloak.client-name=Keycloak