- also uses .to_json to convert hash to json string; ensures
no duplicate keys
closes PLAT-2588
Test plan:
Test alongside g/111746 (MRA)
Configure live events on local, or test against portal2.
Run canvas-lms/script/tail_kinesis [endpoint] [stream] [region]
to see a log of all live events.
For local (no creds required):
script/tail_kinesis http://kinesis:4567 live_events us-east-1
For portal2 (inseng creds):
script/tail_kinesis \
http://kinesis.us-west-2.amazonaws.com \
cyoe_live_events_qa \
us-west-2
Create a quiz in Canvas
As a student, take the quiz
Verify the ensuing grading events do not have duplicate keys
As a teacher, change the answers to a quiz question, and choose
to regarde the quiz
Verify the ensuing quiz regraded event does not have duplicate
keys
Change-Id: I0653363527ed9e39f56bcb84bcf0641e953d964c
Reviewed-on: https://gerrit.instructure.com/111745
Reviewed-by: Chris Wang <cwang@instructure.com>
Tested-by: Jenkins
QA-Review: Tucker McKnight <tmcknight@instructure.com>
Product-Review: Chris Wang <cwang@instructure.com>
Fixes PLAT-2483
* Add root_account_lti_guid
* Re-add provider
Test Plan:
- setup multiple root accounts with /c/108963/
- spinup local live-event testing services
- test out live-event spawning processes as a result of a delayed job
- assert that the kinesis stream contains events with attributes
containing `root_account_lti_guid` and `provider`
Change-Id: If8e44924145fb8687a16b189d63ad58528ec901e
Reviewed-on: https://gerrit.instructure.com/108970
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Tucker McKnight <tmcknight@instructure.com>
Tested-by: Jenkins
Product-Review: Matthew Wheeler <mwheeler@instructure.com>
Refs: PLAT-2369
Test-plan:
- setup multiple root accounts with /c/106174/
- spinup local live-event testing services
- test out live-event spawning processes as a result of a delayed job
- assert that the kinesis stream contains events with attributes
containing `root_account_uuid`
Change-Id: Ia00dd8d25497529dcf59b9d7b3d0b438d334a61e
Reviewed-on: https://gerrit.instructure.com/106175
QA-Review: Tucker McKnight <tmcknight@instructure.com>
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: Jayce Higgins <jhiggins@instructure.com>