Activity Feed
- Got a Kudo for Bulk Copy Shell Course to All Courses. 06-14-2017 11:42 AM
- Got a Kudo for Bulk Copy Shell Course to All Courses. 06-13-2017 11:12 AM
- Got a Kudo for Bulk Copy Shell Course to All Courses. 06-12-2017 05:39 PM
- Got a Kudo for Bulk Copy Shell Course to All Courses. 05-30-2017 09:31 AM
- Got a Kudo for Bulk Copy Shell Course to All Courses. 05-23-2017 11:55 AM
- Got a Kudo for Bulk Copy Shell Course to All Courses. 04-17-2017 10:20 AM
- Got a Kudo for Bulk Copy Shell Course to All Courses. 04-12-2017 04:32 PM
- Got a Kudo for Bulk Copy Shell Course to All Courses. 04-11-2017 12:02 PM
- Got a Kudo for Bulk Copy Shell Course to All Courses. 04-07-2017 06:38 AM
- Got a Kudo for Bulk Copy Shell Course to All Courses. 04-07-2017 05:32 AM
- Posted Re: Bulk Copy Shell Course to All Courses on Idea Conversations. 04-04-2017 08:57 AM
- Got a Kudo for Bulk Copy Shell Course to All Courses. 04-04-2017 08:38 AM
- Got a Kudo for Bulk Copy Shell Course to All Courses. 04-03-2017 06:45 AM
- Got a Kudo for Bulk Copy Shell Course to All Courses. 04-03-2017 04:46 AM
- Got a Kudo for Bulk Copy Shell Course to All Courses. 03-31-2017 12:50 PM
- Posted Bulk Copy Shell Course to All Courses on Idea Conversations. 03-31-2017 11:28 AM
- Tagged Bulk Copy Shell Course to All Courses on Idea Conversations. 03-31-2017 11:28 AM
- Tagged Bulk Copy Shell Course to All Courses on Idea Conversations. 03-31-2017 11:28 AM
- Tagged Bulk Copy Shell Course to All Courses on Idea Conversations. 03-31-2017 11:28 AM
- Tagged Bulk Copy Shell Course to All Courses on Idea Conversations. 03-31-2017 11:28 AM
My Posts
Post Details | Date Published | Views | Kudos |
---|---|---|---|
Bulk Copy Shell Course to All Courses This idea has been developed and deployed to Canvas We are in the process of creating new courses in Canvas. The issue at hand is that our team needs to customize the items available... |
03-31-2017 |
2449 |
14 |
04-04-2017
08:57 AM
I figured out the for loop via a Bash process with cURL. The Test environment took forever to run but in production it takes around 4 hours to copy a shell to 23,000 courses. I had to build a reference table in my local db to keep track of shells by sub accounts with canvas_data courses and accounts. In the future I will manage this process with another open source product, StreamSets, to ensure anyone can understand the flow of data back to Canvas. To avoid requesting them over and over, every time a new course comes up, I keep a course table merged with canvas_data.courses_dim to track what has been requested. I submit course shell copy on a daily basis.
... View more
03-31-2017
11:28 AM
14 Kudos
This idea has been developed and deployed to Canvas We are in the process of creating new courses in Canvas. The issue at hand is that our team needs to customize the items available in each course. To accomplish that, we need to copy a shell course onto all sub account courses in bulk via API call (cURL) in order to apply the custom changes onto all courses. Since we create courses via SIS, we cannot obtain the Primary Key for each course at the time of creation; thus we have to wait for the data to be preprocessed at canvas_data several days after. We then download the canvas_data.courses_dim and canvas_data.accounts_dim. After that we map all courses to the shell accounts by custom parameters. As of now, I am developing an internal DB table that will hold the transaction status for shell course copy requests (to avoid resubmitting the same request.) The challenge with shell course copy is that we find it takes an average of 25 minutes in our TEST environment to perform a course copy per course_id. Having over 13,000 courses we would need around 6 months to process them. I'm quite sure Production is faster but it is difficult to test because of time we spend on waiting for the data. It would be good to have an API endpoint that allows listing all courses with ID, NAME, CREATED_AT, SUBACCOUNT_ID, PROGRESS. Also a SIS feature needs to exist to send the course copy in bulk. Does anyone know how to bulk copy a shell course to all system wide courses? I wonder if anyone knows the release timeframe for 'blueprint' which promises the bulk course copy. Comments from Instructure For more information, please read through the https://community.canvaslms.com/docs/DOC-11628 .
... View more