Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch MyLA to pull data from UDP instead of UDW #489

Closed
jennlove-um opened this issue Apr 19, 2019 · 7 comments · Fixed by #1392
Closed

Switch MyLA to pull data from UDP instead of UDW #489

jennlove-um opened this issue Apr 19, 2019 · 7 comments · Fixed by #1392

Comments

@jennlove-um
Copy link
Contributor

jennlove-um commented Apr 19, 2019

The pilot versions of MyLA used data from the UDW. With the UDP available, we need to switch to pulling the data from UDP instead.

@jennlove-um jennlove-um added this to To do in MyLA-Fall-2019.03.01 via automation Apr 19, 2019
@jennlove-um jennlove-um removed this from To do in MyLA-Fall-2019.03.01 Apr 19, 2019
@jennlove-um jennlove-um added this to To do in MyLA-Fall-2019.02.01 via automation Apr 19, 2019
@pushyamig pushyamig added this to To do in MyLA-Winter-2020.01.01 via automation Aug 15, 2019
@pushyamig pushyamig removed this from To do in MyLA-Fall-2019.02.01 Aug 15, 2019
@zqian
Copy link
Member

zqian commented Oct 15, 2019

FYI: here updated link of UDP Documentation:

https://docs.udp.unizin.org/ucdm/canvas-to-ucdm.html

@ssciolla ssciolla self-assigned this Dec 5, 2019
@jennlove-um jennlove-um removed this from To do in MyLA-Winter-2020.01.01 Dec 5, 2019
@jennlove-um jennlove-um added this to To do in MyLA-Default-Project via automation Dec 5, 2019
@ssciolla
Copy link
Contributor

ssciolla commented Dec 11, 2019

Okay, I have put in some initial work that will hopefully help get us organized, or at least start thinking about this more. I've identified in the following queries from cron.py that will need to be re-written to use data from the UDP.

  • A term query from update_term
  • A course query from verify_course_ids
  • A user query from update_user
  • An assignment group query from update_groups
  • An assignment query from update_assignment
  • A submission query from update_submission
  • A weight consideration query from weight_consideration
  • A resource query from update_canvas_resource

To help with this effort, I have started work in my issue-489-set-up-cron-queries-refactor branch. There I've included reformatted versions of these eight queries, along with the skeleton of a JSON file called cron_queries.json. This is mostly still the brainstorming stage (nothing is hooked up yet to the project), so if you like, don't like, or have ideas about this approach, let me know.

@ssciolla
Copy link
Contributor

In speaking with @jonespm, I'm now thinking that this may be the right (if not the ideal) time to talk about our current MySQL data model. I will create an EER diagram for us to look at in our next meeting.

@ssciolla ssciolla removed their assignment May 29, 2020
@jonespm
Copy link
Member

jonespm commented Apr 19, 2021

Some thoughts on this from the email. It's been mentioned the "Our hope is that all institutions still utilizing the UDW will be able to migrate their processes over to the UDP by the end of this calendar year, 2021."

Minimally:

  • Sam identified 8 queries that in 2019. I'd expect more might have been added since then.
  • Break up the parts a bit more.

Nice to have:

  • Retain the internal job log we currently have and fix the issue with the length of the log message.
  • We may also want a process for cleaning up old job logs
  • This would have to be done as a second phase if we do it after we ensure the data is equilivant
  • It would take some of the load off of the API and improve performance
  • The biggest challenge I can think of here is removing old data, like deleted assignments
  • Also upsert still isn't in pandas
  • Provide visibility of the job log runs to the admin console
  • Allow running the job from the admin console

@rpfernandezjr
Copy link

I see that this is in progress, and is labeled as priority, but is there an ETA on when this will get released?

@zqian zqian moved this from In progress to Review/QA in MyLA-2021.03.01 Oct 7, 2021
@jennlove-um jennlove-um removed this from Review/QA in MyLA-2021.03.01 Oct 20, 2021
@jennlove-um jennlove-um added this to To do in MyLA-Default-Project via automation Oct 20, 2021
@jonespm jonespm added this to To do in MyLA-2022.02.01 Oct 20, 2021
@jennlove-um
Copy link
Contributor Author

jennlove-um commented Jul 6, 2022

Still waiting for the metadata table from Unizin. The June 2022 release was delayed.

Unizin release notes - https://resources.unizin.org/display/UDP/Release+Notes

@zqian zqian moved this from To do to In progress in MyLA-2022.02.01 Jul 20, 2022
zqian added a commit to zqian/my-learning-analytics that referenced this issue Jul 20, 2022
…dp.hjson to cron.hjson; updated the cron.py for metadata query
@zqian zqian linked a pull request Jul 20, 2022 that will close this issue
zqian added a commit to zqian/my-learning-analytics that referenced this issue Jul 20, 2022
@jennlove-um
Copy link
Contributor Author

Research whether we need the first name and last name from the UDP. Can we trust the LTI launch data instead and use that data for the profile?

MyLA-Default-Project automation moved this from To do to Review/QA Sep 7, 2022
MyLA-2022.02.01 automation moved this from In progress to Review/QA Sep 7, 2022
@zqian zqian moved this from Review/QA to In progress in MyLA-2022.02.01 Nov 1, 2022
@jennlove-um jennlove-um moved this from In progress to Review/QA in MyLA-2022.02.01 Nov 15, 2022
@jennlove-um jennlove-um moved this from Review/QA to Done in MyLA-2022.02.01 Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
MyLA-Default-Project
  
Review/QA
Development

Successfully merging a pull request may close this issue.

5 participants