canvas-lms/app/observers
Chrystal Langston d6ae15d8d7 Add live event rubric_assesed
closes OUT-5885

flag=none

test plan:
- Tests are sufficient and jenkins passes
- Live event is triggered when assessing a rubric associated to an
  assignment for a student in Speedgrader
  - Steps for manual testing:
  - Prereq:
    - A course with an graded assignment that is aligned to a rubric
      with atleast 1 student enrolled
    - Live events are working locally
  - Open terminal and tail sqs logs in Outcomes Service OR tail the
    kinesis logs in Canvas
    - dc logs -f sqs2outcomes
    - OR dc run --rm web script/tail_kinesis http://kinesis live-events
  - Launch Canvas and navigate to course with the rubric aligned
    assignment
  - Open Speedgrader
  - Assess the rubric for the student
  - Verify that the "rubric_assessed" event is present in the logs
  - Back to Speedgrader, assess rubric for the student again
  - Verify that the "rubric_assessed" event is present in the logs

Change-Id: I533aa7eceae8afbee37217ccc5705649ff8df4de
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/330756
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Spencer Olson <solson@instructure.com>
Reviewed-by: Martin Yosifov <martin.yosifov@instructure.com>
Reviewed-by: Xander Moffatt <xmoffatt@instructure.com>
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
QA-Review: Wilmer Corrales <wilmer.corrales@instructure.com>
Product-Review: Kyle Rosenbaum <krosenbaum@instructure.com>
2023-11-16 21:01:40 +00:00
..
cacher.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
live_events_observer.rb Add live event rubric_assesed 2023-11-16 21:01:40 +00:00
stream_item_cache.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00