Implementation Tasks
Infrastructure Components
All pre-existing (MyEd)
Application Components
Deploy survey proxy service
Use bamboo to deploy the spring boot survey proxy application.
- Drain connections from the four KB MyEd servers (Dev Tech)
- Go to build 13 of the application plan: https://www.bamboo.is.ed.ac.uk/browse/UPORTALFOUROTWELVE-MYEDSP-13
- Deploy to the KB servers for live environment
- Check deployment on each of the four KB MyEd servers
- Return the four KB to service (Dev Tech)
- Repeat steps 1-5 for AT servers
Deploy web files (Skip this step - already live thanks to build #313)
Use bamboo to deploy the web files containing the updated channel.
- Go to build 312* of the web files plan: https://www.bamboo.is.ed.ac.uk/browse/UPORTALFOUROTWELVE-WEBFILES-312
- Deploy to test or live environment
* If this build is not the most recent build, you should confirm which to use.
Application Setup
Configure MyEd channels
- Log into MyEd. You must have admin permissions.
- Click Admin -> Manage Portlets
- Search for surveys
- Edit 'Student Surveys'
- Go to 'Preferences' - 'Edit Rich Configuration', and change:
- 'General Configuration':'Base URL' = https://www-test.myed.ed.ac.uk/web_files/surveys/student.html (Change url for live environment)
- 'Static HTML Configuration':'Static Header' = <script> var studentSurveyProxyUrl = "/survey-proxy/student"; </script>
- Go back and edit 'Course Evaluation Surveys'
- Change name from "Course Evaluation Surveys" to "Course Enhancement Questionnaires"
- Go to 'Preferences' - 'Edit Rich Configuration', and change:
- 'General Configuration':'Base URL' = https://www-test.myed.ed.ac.uk/web_files/surveys/course.html (Change url for live environment)
- 'Static HTML Configuration':'Static Header' = <script> var courseSurveyProxyUrl = "/survey-proxy/course"; </script>
Integration Components
None
Data Population
None
Data Migration
None
Implementation Validation
Log off MyEd, then log in again (to refresh the channels).
Add both survey channels to your dashboard.
Use firebug or similar tool to inspect the channel HTML.
Look for the script tag which includes the mustache.js javascript file. It should be the only javascript file included in this way. If you see references to persistJSONP.js, up.jQuery-noconflict.cookie.js and jquery.jsonp-2.4.0.min.js, then you are looking at the old channel.
If the channel does not display any error message, then the survey proxy is working. It is normal that you do not have any surveys available because these are delivered on a per-uun basis.
Rollback
In the event of a problem, to roll back one or both channels:
- Edit the channel(s) in the same manner as in step 3.
- Revert the settings in 'Preferences' (for student survey):
- 'General Configuration':'Base URL' = https://www-test.myed.ed.ac.uk/web_files/course-surveys/content.html (Change url for live environment)
- 'Static HTML Configuration':'Static Header' = <script> var cookiePrefix = '001'; </script>
- Revert the settings in 'Preferences' (for course survey):
- 'General Configuration':'Base URL' = https://www-test.myed.ed.ac.uk/web_files/launchers/surveys/index.html (Change url for live environment)
- 'Static HTML Configuration':'Static Header' = <script> // update the number to change cookie name var uoeSurveyPrefix = 'uoesurvey03-'; </script>