sakaiproject/nakamura — pull request #600 by ctweney (2012-02-15 22:10:47+00:00)
Title: KERN-2534 Create a wrapper bundle for postgres driver

With the postgresqlwrapper bundle, deployers can now enable PostgreSQL simply by creating a JDBCStorageClientPool.config file that points at their Postgres installation, e.g.:

mkdir -p home/sakai/sling/config/org/sakaiproject/nakamura/lite/storage/jdbc
vim home/sakai/sling/config/org/sakaiproject/nakamura/lite/storage/jdbc/JDBCStorageClientPool.config

jdbc-driver="org.postgresql.Driver"
jdbc-url="jdbc:postgresql://localhost:5432/nakamura?autoReconnectForPools\=true"
long-string-base-dir="store"
long-string-size=I"0"
long-string-size=I"16000"
max-active=I"200"
max-idle=I"5"
max-wait=L"10"
min-evictable-idle-time-millis=L"10000"
num-tests-per-eviction-run=I"1000"
password="ironchef"
service.bundleLocation="slinginstall:org.sakaiproject.nakamura.core-1.2.1.vcam_sparsemapcontent.jar"
service.pid="org.sakaiproject.nakamura.lite.storage.jdbc.JDBCStorageClientPool"
store-base-dir="store"
test-on-borrow=B"true"
test-on-return=B"true"
test-while-idle=B"false"
time-between-eviction-run=L"60000"
username="sakai"
when-exhausted-action="grow"