Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added custom analytics provider sample config

...

Code Block
# overrides for instance specific configuration (urls mostly)
environment=prd
base.url=https://institute.kuali.co
application.url=https://institute.kuali.co/fin
appserver.url=https://institute.kuali.co
rice.server.url=https://institute.kuali.co/rice
rice.url=https://institute.kuali.co/rice
rice.ksb.registry.serviceUrl=http://${rice.url}/remoting/soap/ksb/v2_0/serviceRegistry
base.directory=/data/fin/kfs
logs.directory=${base.directory}/logs/${app.code}
work.directory=${base.directory}/work/${app.code}
keystore.file=/app/fin/kfs/app/tomcat/conf/rice.keystore
security.property.file=file:/app/fin/kfs/app/tomcat/conf/security.properties
log4j.settings.file=/app/fin/kfs/app/tomcat/conf/log4j.properties

core.authentication.filter.authBaseUrl=https://institute.kuali.co

# example of disabling db update on startup for a single environment
updateDatabaseOnStartup=false
 
b2b.environment=Production
b2b.purchase.order.url=https://solutions.sciquest.com/apps/Router/POXMLImport
b2b.punch.back.url=${application.url}/b2b.do?methodToCall=returnFromShopping
b2b.punch.out.url=https://solutions.sciquest.com/apps/Router/ExternalAuth/cXML/institute

mailing.list.batch=kfs.batch.institute@kuali.co

Here is a sample configuration for custom analytics provider:

Code Block
web.analytics.enabled=true
web.analytics.key=[key]
# the entire script must be on a single line -- make sure to adjust JS appropriately
web.analytics.tag=<script type='text/javascript'> !function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on"];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics};};for(var t=0;t<analytics.methods.length;t++){var e = analytics.methods[t];analytics[e] = analytics.factory(e)}analytics.load=function(t){var e=document.createElement("script");e.type="text/javascript";e.async=!0;e.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.com/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)};analytics.SNIPPET_VERSION="4.0.0";analytics.load('${web.analytics.key}');analytics.page();}}();</script>

security.properties

Code Block
kfs.datasource.username=[username1]
kfs.datasource.password=[password1]
kfs.datasource.url=[URL1]
kfs.datasource.pool.maxActive=200
kfs.datasource.pool.maxSize=200

#used by liquirelational
kfs.datasource.ddl.username=[username2]
kfs.datasource.ddl.password=[password2]
kfs.datasource.ddl.url=[URL2]

rice.datasource.url=[URL3]
rice.datasource.username=[username3]
rice.datasource.password=[password3]
rice.datasource.pool.maxActive=200
rice.datasource.pool.maxSize=200

#used by liquirelational
rice.datasource.ddl.url=[URL4]
rice.datasource.ddl.username=[username4]
rice.datasource.ddl.password=[password4]

keystore.alias=rice
keystore.password=[something really secure here!]
encryption.key=[something else really secure here!]

# configure only if the environment will be connected to Sciquest
b2b.user.agent=Institute
b2b.purchase.order.identity=[identity1]
b2b.purchase.order.password=[password1]
b2b.shopping.identity=[identity2]
b2b.shopping.password=[password2]
# override this property if using Sciquest
csrf.exempt.paths=b2b.do

...