META-INF.ks-ksb-config-defaults.xml Maven / Gradle / Ivy
The newest version!
<!-- Copyright 2010 The Kuali Foundation Licensed under the Educational Community 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.osedu.org/licenses/ECL-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. --> <config> <!-- Default settings required to use KSB in ks ui and web modules. KSB set to use derby and jpa by default and makes use of nested properties to switch db. Must set db.vendor property prior to referencing this config file. --> <param name="rice.ksb.loadKNSModuleConfiguration">false</param> <!-- this is dev only parameter, currently can't create quartz tables with jpa --> <param name="useQuartzDatabase">false</param> <!-- Datasource Configuration --> <param name="rice.ksb.jpa.enabled.derby">true</param> <param name="rice.ksb.registry.jpa.PersistenceXmlLocation">META-INF/ks-ksb-persistence.xml</param> <param name="rice.ksb.registry.jpa.PersistenceUnitName.derby">ksb-registry-identity-unit</param> <param name="rice.ksb.registry.jpa.PersistenceUnitName.oracle">ksb-registry-sequence-unit</param> <param name="rice.ksb.registry.jpa.PersistenceUnitName">${rice.ksb.registry.jpa.PersistenceUnitName.${db.vendor}}</param> <param name="rice.ksb.registry.jpa.GenerateDdl">true</param> <param name="rice.ksb.message.jpa.PersistenceXmlLocation">META-INF/ks-ksb-persistence.xml</param> <param name="rice.ksb.message.jpa.PersistenceUnitName.derby">ksb-message-identity-unit</param> <param name="rice.ksb.message.jpa.PersistenceUnitName.oracle">ksb-message-sequence-unit</param> <param name="rice.ksb.message.jpa.PersistenceUnitName">${rice.ksb.message.jpa.PersistenceUnitName.${db.vendor}}</param> <param name="rice.ksb.message.jpa.GenerateDdl">true</param> <param name="rice.jpa.DatabasePlatform.derby">org.hibernate.dialect.DerbyDialect</param> <param name="rice.jpa.UseSerialization">false</param> <param name="datasource.ojb.platform">Derby</param> <param name="datasource.driver.name.derby">org.apache.derby.jdbc.ClientDriver</param> <param name="datasource.url.derby">jdbc:derby://localhost:1527/derby/rice-db;create=true</param> <param name="datasource.username.derby">rice</param> <param name="datasource.password.derby">r1c3</param> <param name="datasource.pool.validationQuery.derby">values(1)</param> <param name="datasource.pool.maxWait">600</param> <param name="datasource.pool.size">5</param> <param name="datasource.pool.maxSize">10</param> <param name="datasource.pool.minSize">10</param> <param name="rice.jpa.DatabasePlatform.oracle">org.hibernate.dialect.Oracle10gDialect</param> <param name="datasource.driver.name.oracle">oracle.jdbc.OracleDriver</param> <param name="datasource.url.oracle">jdbc:oracle:thin:@localhost:1521:XE</param> <param name="datasource.username.oracle">RICEKS</param> <param name="datasource.password.oracle">RICEKS</param> <param name="datasource.pool.validationQuery.oracle">select 1 from dual</param> <param name="rice.ksb.jpa.enabled.oracle">true</param> <param name="rice.jpa.DatabasePlatform">${rice.jpa.DatabasePlatform.${db.vendor}}</param> <param name="datasource.driver.name">${datasource.driver.name.${db.vendor}}</param> <param name="datasource.url">${datasource.url.${db.vendor}}</param> <param name="datasource.username">${datasource.username.${db.vendor}}</param> <param name="datasource.password">${datasource.password.${db.vendor}}</param> <param name="datasource.pool.validationQuery">${datasource.pool.validationQuery.${db.vendor}}</param> <param name="rice.ksb.jpa.enabled">${rice.ksb.jpa.enabled.${db.vendor}}</param> <!-- Keystore Configuration --> <param name="keystore.file">${rice.base}../../src/main/resources/rice.keystore</param> <param name="keystore.alias">rice</param> <param name="keystore.password">r1c3pw</param> </config>