Kuali Security Request Installation Guide

Size: px
Start display at page:

Download "Kuali Security Request Installation Guide"

Transcription

1 Kuali Security Request Installation Guide Client: Cornell University Date: July, 2011 Contents I. Integration of Rice Code... 2 II. Integration of KFS Code... 4 III. Rice Database Updates... 4 IV. KFS Database Updates... 5

2 I. Integration of Rice Code Note following changes should be applied to version of the Rice server 1) Download Rice KSR project from ) Create package org.kuali.rice.ksr in api/src/main/java and place copy of KsrConstants from corresponding package within the source distribution 3) Create the following packages in impl/src/main/java and copy the source code from the corresponding packages within the source distribution: a. org.kuali.rice.ksr.bo b. org.kuali.rice.ksr.bo.lookup c. org.kuali.rice.ksr.bo.options d. org.kuali.rice.ksr.config e. org.kuali.rice.ksr.document f. org.kuali.rice.ksr.document.authorization g. org.kuali.rice.ksr.document.validation h. org.kuali.rice.ksr.document.validation.impl i. org.kuali.rice.ksr.exception j. org.kuali.rice.ksr.identity k. org.kuali.rice.ksr.maintenance l. org.kuali.rice.ksr.service m. org.kuali.rice.ksr.service.impl n. org.kuali.rice.ksr.util o. org.kuali.rice.ksr.web.struts.action p. org.kuali.rice.ksr.web.struts.form 4) Copy RiceConfigurer to impl/src/main/java/org.kuali.rice.core.config from corresponding package within the source distribution 5) Create the following packages in impl/src/main/resources and copy the files from the corresponding package within the source distribution: a. org.kuali.rice.ksr.bo.datadictionary

3 b. org.kuali.rice.ksr.config c. org.kuali.rice.ksr.document.datadictionary 6) Add the following property to common-config-defaults.xml located in impl/src/main/resources/meta-inf: <param name="rice.ksr.struts.config.files" override="false"></param> 7) In web/src/main/resources/org.kuali.rice.config.ricespringbeans.xml, add the following to the rice bean: <property name="ksrconfigurer"> <bean class="org.kuali.rice.ksr.config.ksrconfigurer" p:webmoduleconfigurationfiles="${rice.ksr.struts.config.files}" /> </property> 8) Copy KSR messages to KR-ApplicationResources.properties from the corresponding file within the source distribution. Note the messages are located at the bottom of the file and are marked with the comment begin/end rsmart KSR mod 9) Create the following folders in web/src/main/webapp and copy files from corresponding directories within the source distribution: a. ksr b. ksr/web-inf c. ksr/web-inf/jsp d. ksr/web-inf/tlds 10) Create folder ksr in web/src/main/webapp/web-inf/tags and copy files from corresponding folder within the source distribution 11) Copy content from web/src/main/webapp/web-inf/tags/rice-portal/maintab.tag that is marked with the comment rsmart KSR mod begin/end 12) Copy content from web/src/main/webapp/web-inf/tags/riceportal/administrationtab.tag that is marked with the comment rsmart KSR mod begin/end

4 13) Copy file securityrequest.tag from web/src/main/webapp/web-inf/tags/riceportal/channel/administration in source distribution 14) Copy file securityrequest.tag from web/src/main/webapp/web-inf/tags/riceportal/channel/main in source distribution 15) Copy KSR CSS configuration to web/src/main/webapp/kr/css/kuali.css from the corresponding file within the source distribution. Note the CSS is located at the bottom of the file and is marked with the comment begin/end rsmart KSR mod II. Integration of KFS Code Note following changes should be applied to version of the KFS application 1) Download Rice KFS project from or open up kfs_ksr.zip 2) Copy org.kuali.kfs.sys.identity.securityrequestorganizationroletypeserviceimpl from source distribution (or kfs_ksr.zip). (Note this can be placed into a different package if desired) 3) Copy the spring bean definition for SecurityRequestOrganizationRoleTypeServiceImpl located in org.kuali.kfs.sys.springsys.xml. (Note this can be placed into a different spring file if desired. Also, make any necessary adjustments for the class package) III. Rice Database Updates Database scripts located in scripts/upgrades/ to KSR/db-updates 1) Run the schema file (schema-mysql.sql or schema-oracle.sql) against the Rice schema 2) Run the data file (data-mysql.sql or data-oracle.sql) against the Rice schema 3) Start up the Rice application and ingest the following workflow document type XML files:

5 a. SecurityGroupDocumentType.xml b. SecurityProvisioningGroupDocument.xml c. SecurityRequestDocument.xml IV. KFS Database Updates Database scripts located in work/db/upgrades/3.0.1_ksr 1) Run the data file (data-mysql.data or data-oracle.sql) against the KFS schema