Externalizable Parameters
OLE comes with several defaults for various parameters. The following page talks about the defaults and how they can be overridden. There are four files that gets loaded in a hierarchal order and are as follows;
- url-rice-properties.xml (ole-common/ole-utility/src/main/resources/org/kuali/ole): Consists of base application URLs along with URLs for the environments.
- jdbc-rice-properties.xml (ole-common/ole-utility/src/main/resources/org/kuali/ole): Consists of default MySQL and Oracle connection information.
- olefs-config-defaults.xml (ole-app/olefs): Consists of base defaults.
- Bootstrap.xml: Consists of defaults that are filtered during the build process.Â
- common-config.xml (lives under ${user.home}/kuali/main/local): This file gets loaded last and any overrides should be placed in this file.Â
Â
url-rice-properties.xml:
Parameter Name | Default Value | Purpose |
---|---|---|
ole.url.base | http://localhost:8080 | Default application URL |
ole.docstore.url.base | ${ole.url.base}/oledocstore | Default docstore URL |
ole.fs.url.base | ${ole.url.base}/olefs | Default olefs URL |
jdbc-rice-properties.xml: Defaults for MySQL and Oracle which are localhost.
Â
olefs-config-defaults:
Parameter Name | Default Value | Purpose |
---|---|---|
environment | dev | This is used to determine the environment. The value is also used to determine to look for external configuration file for both olefs, and oledocstore. Ex. ${user.home}/kuali/main/${environment}Â |
dev.mode | false | This value when set to false triggers the xml polling services. |
application.url appserver.url rice.server.url docSearchURL | ${ole.fs.url.base} ${application.url} ${application.url} ${ole.docstore.url.base} | Default olefs url Default app server url This can be updated to point to the standalone server if necessary. docsearch url; for searching records in docstore. |
locations.xml.root.location | ${project.home}/locations | This is for any location.xml files that needs to be discovered by the xml polling services and auto ingested into OLE (polling interval is 1 min). |
rules.directory | ${project.home}/rules | Drools rule file directory |
circ.xml.root.location | ${project.home}/circulation-policies | This is for any circulation-policy.xml files that needs to be discovered by the xml polling service and auto ingested into OLE (polling interval is 1 min). |
staffupload.xml.root.location | ${project.home}/staff-upload | The batch upload profile for order imports to be discovered by the xml polling service and auto ingested into OLE (polling interval is 1 min). |
patrons.xml.root.location | ${project.home}/patrons | The patrons.xml file to be discovered by the xml polling service and auto ingested into OLE (polling interval is 1 min). |
autoIngestDefaults | true | This controls the loading of default locations, policies, patrons, e-license files and drools rules during application startup. This should be set to "false" for institutional builds. |
log4j.settings.file | Â | Can be used to point to an external log4j file |
log4j.settings.path | Â | Path to the external log4j |
logs.directory | Â | Path to the logs directory |
Â
BootStrapConfig.xml:Â
Parameter Name | Default Value | Purpose |
---|---|---|
project.home | \${user.home}/kuali/main/${environment}/${project.artifactId} | This sets the project.home value during the maven build cycle. Used by other parameters specially for auto ingest of xml files and their root folder locations. |
Â
common-config.xml:
Parameter Name | Default Value | Purpose |
---|---|---|
appserver.url | IP address | Override the default url and can be set to the server IP for public access. |
ole.url.base | ${appserver.url} | App url |
application.url | ${appserver.url}/olefs | olefs url |
sru.ole.fs.url.base | Â | added because of a problem in version 1.6.2 with using https with the SRU API |
ole.docstore.url.base | http://localhost:8080/oledocstore | oledocstore url |
docSearchURL | ${ole.docstore.url.base} | docsearch url |
externalizable.help.url | http://site.kuali.org/ole/1.5.0-M2-SNAPSHOT | This is for help links for the various screens. |
uuidCheckServiceURL | {ole.fs.url.base} /remoting/oleUuidCheckWebService | This parameter is used to determine if a PO exists for a particular BIB during the Bib delete process. |
common-config.xml is the file that will need to be updated in order to override any default settings.Â
Â
Â
Â
Operated as a Community Resource by the Open Library Foundation