lti_provider_engine 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.md +145 -0
- data/Rakefile +28 -0
- data/app/controllers/lti_provider/application_controller.rb +5 -0
- data/app/controllers/lti_provider/lti_controller.rb +61 -0
- data/app/models/lti_provider/launch.rb +105 -0
- data/app/views/layouts/lti_provider/application.html.erb +12 -0
- data/app/views/lti_provider/lti/cookie_test.html.erb +4 -0
- data/config/lti.yml.example +13 -0
- data/config/lti_xml.yml.example +22 -0
- data/config/routes.rb +6 -0
- data/db/migrate/20130319050003_create_lti_provider_launches.rb +11 -0
- data/lib/lti_provider.rb +20 -0
- data/lib/lti_provider/config.rb +1 -0
- data/lib/lti_provider/engine.rb +19 -0
- data/lib/lti_provider/lti_application.rb +56 -0
- data/lib/lti_provider/lti_config.rb +28 -0
- data/lib/lti_provider/lti_xml_config.rb +23 -0
- data/lib/lti_provider/version.rb +3 -0
- data/lib/lti_provider/xml_config.rb +1 -0
- data/lib/tasks/lti_provider_tasks.rake +4 -0
- data/spec/controllers/lti_provider/lti_controller_spec.rb +141 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/welcome_controller.rb +5 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +58 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/cucumber.yml +8 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/lti.yml +13 -0
- data/spec/dummy/config/lti_xml.yml +24 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20130319050206_create_lti_provider_launches.lti_provider.rb +12 -0
- data/spec/dummy/db/schema.rb +24 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +266 -0
- data/spec/dummy/log/test.log +3643 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/robots.txt +5 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/models/lti_provider/launch_spec.rb +80 -0
- data/spec/spec_helper.rb +55 -0
- metadata +337 -0
@@ -0,0 +1,3643 @@
|
|
1
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
2
|
+
Connecting to database specified by database.yml
|
3
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
4
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
5
|
+
Rendered /Users/simonista/Instructure/lti_provider_engine/app/views/lti_provider/lti/cookie_test.html.erb within layouts/lti_provider/application (0.2ms)
|
6
|
+
Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)
|
7
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
10
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
11
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
12
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
14
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380236061", "oauth_nonce"=>"IotrgvaBvEETd8Tg49Ic2ayegh0CHA1dFlo0t4WD2Q", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host/lti_provider", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"5fIJCGU+i0COprdktT1M6zysxzw="}
|
15
|
+
Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 4.8ms)
|
16
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
19
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380236061", "oauth_nonce"=>"ZARGwgMEExHGCVx4BS597RsnZsxLTmYiqhshKBC6Wk", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host/lti_provider", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"SBZYpAs/mpQEZTidPk/dz4g7wM4="}
|
20
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
21
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
22
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
23
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
25
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380236061", "oauth_nonce"=>"mmho5ws7jAsSDS8N1mHwBZMEUDzXdZvyiDkucod0", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host/lti_provider", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"DCbOrb2/080wHGs7K7NA4Hjrlh0="}
|
26
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
27
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
28
|
+
[1m[35m (0.0ms)[0m begin transaction
|
29
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
30
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380236061", "oauth_nonce"=>"9CSDuqSRsfNuA8TdTUkqiaJ1rrWnQhHmfi4Z1RoJY", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host/lti_provider", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"bXdqlUk+Guzq4ZM6ZgBBZ2SF3fA="}
|
31
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
32
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
33
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35
|
+
[1m[35mSQL (48.7ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:54:21 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:54:21 UTC +00:00]]
|
36
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
38
|
+
Parameters: {"nonce"=>"abcd"}
|
39
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-09-26 22:49:21.491627') LIMIT 1
|
40
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
42
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43
|
+
Redirected to http://test.host/
|
44
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.5ms)
|
45
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
46
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
48
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:54:21 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:54:21 UTC +00:00]]
|
49
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
51
|
+
Parameters: {"nonce"=>"abcd"}
|
52
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-09-26 22:49:21.509443') LIMIT 1[0m
|
53
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
54
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
55
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56
|
+
Redirected to http://test.host/
|
57
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
58
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "lti_provider_launches" [0m
|
59
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
60
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
61
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
62
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:54:21 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:54:21 UTC +00:00]]
|
63
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
64
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
65
|
+
[1m[35m (0.3ms)[0m UPDATE "lti_provider_launches" SET "created_at" = '2013-09-26 22:44:21.521394', "updated_at" = '2013-09-26 22:54:21.521839', "provider_params" = '---
|
66
|
+
custom_canvas_course_id: 1
|
67
|
+
custom_canvas_user_id: 2
|
68
|
+
tool_consumer_instance_guid: 123abc
|
69
|
+
' WHERE "lti_provider_launches"."id" = 1
|
70
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
71
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
72
|
+
Parameters: {"nonce"=>"abcd"}
|
73
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-09-26 22:49:21.524476') LIMIT 1
|
74
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
75
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
76
|
+
[1m[35m (0.0ms)[0m begin transaction
|
77
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:54:21 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:54:21 UTC +00:00]]
|
79
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
80
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
81
|
+
Parameters: {"nonce"=>"invalid"}
|
82
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-09-26 22:49:21.533288') LIMIT 1
|
83
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
84
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
85
|
+
[1m[35m (0.0ms)[0m begin transaction
|
86
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
87
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
89
|
+
[1m[35m (0.0ms)[0m begin transaction
|
90
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
91
|
+
[1m[35m (0.0ms)[0m begin transaction
|
92
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
93
|
+
[1m[35m (0.0ms)[0m begin transaction
|
94
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
95
|
+
[1m[35m (0.0ms)[0m begin transaction
|
96
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
97
|
+
[1m[35m (0.0ms)[0m begin transaction
|
98
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
99
|
+
[1m[35m (0.0ms)[0m begin transaction
|
100
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
101
|
+
[1m[35m (0.0ms)[0m begin transaction
|
102
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
103
|
+
[1m[35m (0.0ms)[0m begin transaction
|
104
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
105
|
+
[1m[35m (0.0ms)[0m begin transaction
|
106
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
107
|
+
[1m[35m (0.0ms)[0m begin transaction
|
108
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
109
|
+
[1m[35m (0.0ms)[0m begin transaction
|
110
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
111
|
+
[1m[35m (0.0ms)[0m begin transaction
|
112
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
113
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
114
|
+
Connecting to database specified by database.yml
|
115
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
116
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
117
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
118
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
119
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
120
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
121
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
122
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
123
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
124
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
125
|
+
[1m[36mSQL (3.7ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:54:57 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:54:57 UTC +00:00]]
|
126
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
127
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
128
|
+
[1m[35m (0.3ms)[0m UPDATE "lti_provider_launches" SET "created_at" = '2013-09-26 22:44:57.668449', "updated_at" = '2013-09-26 22:54:57.668945', "provider_params" = '---
|
129
|
+
custom_canvas_course_id: 1
|
130
|
+
custom_canvas_user_id: 2
|
131
|
+
tool_consumer_instance_guid: 123abc
|
132
|
+
' WHERE "lti_provider_launches"."id" = 1
|
133
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
134
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
135
|
+
Parameters: {"nonce"=>"abcd"}
|
136
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-09-26 22:49:57.675220') LIMIT 1
|
137
|
+
Completed 200 OK in 12ms (Views: 8.5ms | ActiveRecord: 0.1ms)
|
138
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
139
|
+
[1m[35m (0.1ms)[0m begin transaction
|
140
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
141
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:54:57 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:54:57 UTC +00:00]]
|
142
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
143
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
144
|
+
Parameters: {"nonce"=>"invalid"}
|
145
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-09-26 22:49:57.718629') LIMIT 1
|
146
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
147
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
148
|
+
[1m[35m (0.0ms)[0m begin transaction
|
149
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
150
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:54:57 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:54:57 UTC +00:00]]
|
151
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
152
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
153
|
+
Parameters: {"nonce"=>"abcd"}
|
154
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-09-26 22:49:57.729151') LIMIT 1
|
155
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
156
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
157
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
158
|
+
Redirected to http://test.host/
|
159
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
|
160
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
161
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
162
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
163
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:54:57 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:54:57 UTC +00:00]]
|
164
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
165
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
166
|
+
Parameters: {"nonce"=>"abcd"}
|
167
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-09-26 22:49:57.744965') LIMIT 1[0m
|
168
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
169
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
170
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
171
|
+
Redirected to http://test.host/
|
172
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
173
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "lti_provider_launches" [0m
|
174
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
175
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
176
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
177
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
178
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
179
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
180
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
181
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
182
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
183
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
184
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
185
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
186
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
187
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
188
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
189
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
190
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
191
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
192
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
193
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
194
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
195
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
196
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
197
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
198
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
199
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
200
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
201
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
202
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
203
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
204
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
205
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
206
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
207
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
208
|
+
Connecting to database specified by database.yml
|
209
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
210
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
211
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
212
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
213
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
214
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
215
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
216
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
217
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
218
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
219
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
220
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
221
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
222
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
223
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
224
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
225
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
226
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
227
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
228
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
229
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
230
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
231
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
232
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
233
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
234
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
235
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
236
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
237
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
238
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
239
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
240
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
241
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
242
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
243
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
244
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
245
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
246
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
247
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
248
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
249
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
250
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
251
|
+
[1m[36mSQL (3.9ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:55:59 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:55:59 UTC +00:00]]
|
252
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
253
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
254
|
+
Parameters: {"nonce"=>"abcd"}
|
255
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-09-26 22:50:59.910962') LIMIT 1[0m
|
256
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
257
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
258
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
259
|
+
Redirected to http://test.host/
|
260
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.5ms)
|
261
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "lti_provider_launches" [0m
|
262
|
+
[1m[35m (1.3ms)[0m rollback transaction
|
263
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
264
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
265
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:55:59 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:55:59 UTC +00:00]]
|
266
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
267
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
268
|
+
Parameters: {"nonce"=>"abcd"}
|
269
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-09-26 22:50:59.930583') LIMIT 1[0m
|
270
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
271
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
272
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
273
|
+
Redirected to http://test.host/
|
274
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
275
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
276
|
+
[1m[35m (0.0ms)[0m begin transaction
|
277
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
278
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:55:59 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:55:59 UTC +00:00]]
|
279
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
280
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
281
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "lti_provider_launches" SET "created_at" = '2013-09-26 22:45:59.942571', "updated_at" = '2013-09-26 22:55:59.943028', "provider_params" = '---
|
282
|
+
custom_canvas_course_id: 1
|
283
|
+
custom_canvas_user_id: 2
|
284
|
+
tool_consumer_instance_guid: 123abc
|
285
|
+
' WHERE "lti_provider_launches"."id" = 1[0m
|
286
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
287
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
288
|
+
Parameters: {"nonce"=>"abcd"}
|
289
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-09-26 22:50:59.945712') LIMIT 1[0m
|
290
|
+
Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.1ms)
|
291
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
292
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
293
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:55:59 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:55:59 UTC +00:00]]
|
295
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
297
|
+
Parameters: {"nonce"=>"invalid"}
|
298
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-09-26 22:50:59.965585') LIMIT 1[0m
|
299
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
300
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
301
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
302
|
+
Connecting to database specified by database.yml
|
303
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
304
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
305
|
+
Rendered /Users/simonista/Instructure/lti_provider_engine/app/views/lti_provider/lti/cookie_test.html.erb within layouts/lti_provider/application (0.2ms)
|
306
|
+
Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
|
307
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
308
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
309
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
310
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
311
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
312
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
313
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
314
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380236174", "oauth_nonce"=>"m9O6ZARVLTk2s6oxInlKQDLYbf6or78T0aEpwLPxq8", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host/lti_provider", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"P9Xe/6TYqMcNteorgORAd8WONPI="}
|
315
|
+
Completed 200 OK in 10ms (Views: 1.5ms | ActiveRecord: 1.4ms)
|
316
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
317
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
318
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
319
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380236174", "oauth_nonce"=>"NyRb1itGNvg1FrcSmQ57kMa7LaqgVEGLFP9cJMIEoQ", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host/lti_provider", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"sNyWovRKNQKURyIY+//7i0pf/kY="}
|
320
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
321
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
322
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
323
|
+
[1m[35m (0.0ms)[0m begin transaction
|
324
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
325
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380236174", "oauth_nonce"=>"dU5XMzqZwtJ3Xuzwja1aNyN3DhqjAZ5IBqYCFM4FbA", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host/lti_provider", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"3F9PTPo4auAq0hhZfn3I1lJBRFA="}
|
326
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
327
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
328
|
+
[1m[35m (0.0ms)[0m begin transaction
|
329
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
330
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380236174", "oauth_nonce"=>"B8onXFBKX4gPmn1iqqMKn0eR5JIsMrEIxMzpF7JTVg", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host/lti_provider", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"O7N7fDqR6ewEHJmkrcEXvK2QR2A="}
|
331
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
332
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
333
|
+
[1m[35m (0.1ms)[0m begin transaction
|
334
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
335
|
+
[1m[35mSQL (4.1ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:56:14 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:56:14 UTC +00:00]]
|
336
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
337
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
338
|
+
Parameters: {"nonce"=>"abcd"}
|
339
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-09-26 22:51:14.459111') LIMIT 1
|
340
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
341
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
342
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
343
|
+
Redirected to http://test.host/
|
344
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.6ms)
|
345
|
+
[1m[35m (1.4ms)[0m rollback transaction
|
346
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
347
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
348
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:56:14 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:56:14 UTC +00:00]]
|
349
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
350
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
351
|
+
Parameters: {"nonce"=>"abcd"}
|
352
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-09-26 22:51:14.478464') LIMIT 1[0m
|
353
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
354
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
355
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
356
|
+
Redirected to http://test.host/
|
357
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
358
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "lti_provider_launches" [0m
|
359
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
360
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
361
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
362
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:56:14 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:56:14 UTC +00:00]]
|
363
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
364
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
365
|
+
[1m[35m (0.3ms)[0m UPDATE "lti_provider_launches" SET "created_at" = '2013-09-26 22:46:14.490864', "updated_at" = '2013-09-26 22:56:14.491308', "provider_params" = '---
|
366
|
+
custom_canvas_course_id: 1
|
367
|
+
custom_canvas_user_id: 2
|
368
|
+
tool_consumer_instance_guid: 123abc
|
369
|
+
' WHERE "lti_provider_launches"."id" = 1
|
370
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
371
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
372
|
+
Parameters: {"nonce"=>"abcd"}
|
373
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-09-26 22:51:14.494077') LIMIT 1
|
374
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
375
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
376
|
+
[1m[35m (0.0ms)[0m begin transaction
|
377
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
378
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:56:14 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:56:14 UTC +00:00]]
|
379
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
380
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
381
|
+
Parameters: {"nonce"=>"invalid"}
|
382
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-09-26 22:51:14.503006') LIMIT 1
|
383
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
384
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
385
|
+
[1m[35m (0.1ms)[0m begin transaction
|
386
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
387
|
+
[1m[35m (0.1ms)[0m begin transaction
|
388
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
389
|
+
[1m[35m (0.0ms)[0m begin transaction
|
390
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
391
|
+
[1m[35m (0.0ms)[0m begin transaction
|
392
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
393
|
+
[1m[35m (0.0ms)[0m begin transaction
|
394
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
395
|
+
[1m[35m (0.0ms)[0m begin transaction
|
396
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
397
|
+
[1m[35m (0.0ms)[0m begin transaction
|
398
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
399
|
+
[1m[35m (0.0ms)[0m begin transaction
|
400
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
401
|
+
[1m[35m (0.0ms)[0m begin transaction
|
402
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
403
|
+
[1m[35m (0.0ms)[0m begin transaction
|
404
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
405
|
+
[1m[35m (0.0ms)[0m begin transaction
|
406
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
407
|
+
[1m[35m (0.0ms)[0m begin transaction
|
408
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
409
|
+
[1m[35m (0.0ms)[0m begin transaction
|
410
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
411
|
+
[1m[35m (0.0ms)[0m begin transaction
|
412
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
413
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
414
|
+
Connecting to database specified by database.yml
|
415
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
416
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
417
|
+
Rendered /Users/simonista/Instructure/lti_provider_engine/app/views/lti_provider/lti/cookie_test.html.erb within layouts/lti_provider/application (0.2ms)
|
418
|
+
Completed 200 OK in 9ms (Views: 9.0ms | ActiveRecord: 0.0ms)
|
419
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
420
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
421
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
422
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
423
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
424
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
425
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
426
|
+
[1m[36mSQL (3.8ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:56:31 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:56:31 UTC +00:00]]
|
427
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
428
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
429
|
+
Parameters: {"nonce"=>"abcd"}
|
430
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-09-26 22:51:31.469398') LIMIT 1[0m
|
431
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
432
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
433
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
434
|
+
Redirected to http://test.host/
|
435
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.5ms)
|
436
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
437
|
+
[1m[35m (0.0ms)[0m begin transaction
|
438
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
439
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:56:31 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:56:31 UTC +00:00]]
|
440
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
441
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
442
|
+
Parameters: {"nonce"=>"abcd"}
|
443
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-09-26 22:51:31.508867') LIMIT 1
|
444
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
445
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
446
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
447
|
+
Redirected to http://test.host/
|
448
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
449
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "lti_provider_launches"
|
450
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
451
|
+
[1m[35m (0.0ms)[0m begin transaction
|
452
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
453
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:56:31 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:56:31 UTC +00:00]]
|
454
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
455
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
456
|
+
Parameters: {"nonce"=>"invalid"}
|
457
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-09-26 22:51:31.522018') LIMIT 1
|
458
|
+
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
459
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
460
|
+
[1m[35m (0.0ms)[0m begin transaction
|
461
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
462
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 26 Sep 2013 22:56:31 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 26 Sep 2013 22:56:31 UTC +00:00]]
|
463
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
464
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
465
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "lti_provider_launches" SET "created_at" = '2013-09-26 22:46:31.532274', "updated_at" = '2013-09-26 22:56:31.532762', "provider_params" = '---
|
466
|
+
custom_canvas_course_id: 1
|
467
|
+
custom_canvas_user_id: 2
|
468
|
+
tool_consumer_instance_guid: 123abc
|
469
|
+
' WHERE "lti_provider_launches"."id" = 1[0m
|
470
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
471
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
472
|
+
Parameters: {"nonce"=>"abcd"}
|
473
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-09-26 22:51:31.535675') LIMIT 1[0m
|
474
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
475
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
476
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
477
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
478
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380236191", "oauth_nonce"=>"o7GWsRyFFzenZ2PC8bJWzqGr3Zth7u14YfxmYmtSteo", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"dPrGMWU1rudE9lA46UEy35XJ3UQ="}
|
479
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
480
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 26 Sep 2013 22:56:31 UTC +00:00], ["nonce", "o7GWsRyFFzenZ2PC8bJWzqGr3Zth7u14YfxmYmtSteo"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: o7GWsRyFFzenZ2PC8bJWzqGr3Zth7u14YfxmYmtSteo\noauth_signature: dPrGMWU1rudE9lA46UEy35XJ3UQ=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1380236191'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 26 Sep 2013 22:56:31 UTC +00:00]]
|
481
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
482
|
+
Redirected to http://test.host/cookie_test?nonce=o7GWsRyFFzenZ2PC8bJWzqGr3Zth7u14YfxmYmtSteo
|
483
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
|
484
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
485
|
+
[1m[35m (0.0ms)[0m begin transaction
|
486
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
487
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380236191", "oauth_nonce"=>"aeXKvHdBtLI7hTw2QaDF9oM1YaXfyJQ59gVzds9Y", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"ZdHKySlbTWnpEVdruGF5a1UyRMw="}
|
488
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
489
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Thu, 26 Sep 2013 22:56:31 UTC +00:00], ["nonce", "aeXKvHdBtLI7hTw2QaDF9oM1YaXfyJQ59gVzds9Y"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: aeXKvHdBtLI7hTw2QaDF9oM1YaXfyJQ59gVzds9Y\noauth_signature: ZdHKySlbTWnpEVdruGF5a1UyRMw=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1380236191'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 26 Sep 2013 22:56:31 UTC +00:00]]
|
490
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
491
|
+
Redirected to http://test.host/cookie_test?nonce=aeXKvHdBtLI7hTw2QaDF9oM1YaXfyJQ59gVzds9Y
|
492
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
|
493
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
494
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
495
|
+
[1m[35m (0.0ms)[0m begin transaction
|
496
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
497
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380236191", "oauth_nonce"=>"PQkvZS0xP4IYstykYGnAh73QhytLN275GFjfA8yOPyk", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"TFwdNBJKU2K9qWbTUPs7636pMWY="}
|
498
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
499
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
500
|
+
[1m[35m (0.0ms)[0m begin transaction
|
501
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
502
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380236191", "oauth_nonce"=>"PVqU6eScKLsCHPWOFZP1tWpyE8nlW9Y6mQD5B8o5xY", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"irLzVsGOJY5U3GPUpWQlXoaLF0U="}
|
503
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
504
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
505
|
+
[1m[35m (0.0ms)[0m begin transaction
|
506
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
507
|
+
[1m[35m (0.0ms)[0m begin transaction
|
508
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
509
|
+
[1m[35m (0.0ms)[0m begin transaction
|
510
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
511
|
+
[1m[35m (0.0ms)[0m begin transaction
|
512
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
513
|
+
[1m[35m (0.0ms)[0m begin transaction
|
514
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
515
|
+
[1m[35m (0.0ms)[0m begin transaction
|
516
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
517
|
+
[1m[35m (0.0ms)[0m begin transaction
|
518
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
519
|
+
[1m[35m (0.0ms)[0m begin transaction
|
520
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
521
|
+
[1m[35m (0.0ms)[0m begin transaction
|
522
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
523
|
+
[1m[35m (0.0ms)[0m begin transaction
|
524
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
525
|
+
[1m[35m (0.0ms)[0m begin transaction
|
526
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
527
|
+
[1m[35m (0.0ms)[0m begin transaction
|
528
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
529
|
+
[1m[35m (0.0ms)[0m begin transaction
|
530
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
531
|
+
[1m[35m (0.0ms)[0m begin transaction
|
532
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
533
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
534
|
+
Connecting to database specified by database.yml
|
535
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
536
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
537
|
+
Rendered /Users/simonista/Instructure/lti_provider_engine/app/views/lti_provider/lti/cookie_test.html.erb within layouts/lti_provider/application (0.4ms)
|
538
|
+
Completed 200 OK in 59ms (Views: 58.4ms | ActiveRecord: 0.0ms)
|
539
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
540
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
541
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
542
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
543
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
544
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
545
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
546
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380645704", "oauth_nonce"=>"4kIZ4L8j99cbRqyPPmH23BJaigG2nI5fN1M0ffJAjw", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"mHiepvRGhoo5l5kSx9hGX8FtESs="}
|
547
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
548
|
+
[1m[36mSQL (98.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Tue, 01 Oct 2013 16:41:44 UTC +00:00], ["nonce", "4kIZ4L8j99cbRqyPPmH23BJaigG2nI5fN1M0ffJAjw"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: 4kIZ4L8j99cbRqyPPmH23BJaigG2nI5fN1M0ffJAjw\noauth_signature: mHiepvRGhoo5l5kSx9hGX8FtESs=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1380645704'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Tue, 01 Oct 2013 16:41:44 UTC +00:00]]
|
549
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
550
|
+
Redirected to http://test.host/cookie_test?nonce=4kIZ4L8j99cbRqyPPmH23BJaigG2nI5fN1M0ffJAjw
|
551
|
+
Completed 302 Found in 180ms (ActiveRecord: 131.4ms)
|
552
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
553
|
+
[1m[35m (0.1ms)[0m begin transaction
|
554
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
555
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380645705", "oauth_nonce"=>"nfPiQ20qVdnae4TFmNFcQfvRkRG6BYiJTF6eEufxk", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"WKjShCIQ2aIF25/hUrLUNX1T7y4="}
|
556
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
557
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Tue, 01 Oct 2013 16:41:45 UTC +00:00], ["nonce", "nfPiQ20qVdnae4TFmNFcQfvRkRG6BYiJTF6eEufxk"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: nfPiQ20qVdnae4TFmNFcQfvRkRG6BYiJTF6eEufxk\noauth_signature: WKjShCIQ2aIF25/hUrLUNX1T7y4=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1380645705'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Tue, 01 Oct 2013 16:41:45 UTC +00:00]]
|
558
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
559
|
+
Redirected to http://test.host/cookie_test?nonce=nfPiQ20qVdnae4TFmNFcQfvRkRG6BYiJTF6eEufxk
|
560
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
|
561
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
562
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
563
|
+
[1m[35m (0.0ms)[0m begin transaction
|
564
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
565
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380645705", "oauth_nonce"=>"Yx53eBGkJlot5E3bOz1FHMBBDtZGsyNVC0dPvgZtSQ", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"D1ZD/rzaHobdCj8LRLnDt/mk2oo="}
|
566
|
+
Completed 200 OK in 52ms (Views: 50.9ms | ActiveRecord: 0.0ms)
|
567
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
568
|
+
[1m[35m (0.0ms)[0m begin transaction
|
569
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
570
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380645705", "oauth_nonce"=>"qgfdvOzvDEceBhSqnfUvdQQrUos6JU3pMIAdZXP3tI", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"VI2/xK6Msc8vvpyTJL8tgcsXN2M="}
|
571
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
572
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
573
|
+
[1m[35m (0.0ms)[0m begin transaction
|
574
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
575
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Tue, 01 Oct 2013 16:41:45 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Tue, 01 Oct 2013 16:41:45 UTC +00:00]]
|
576
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
577
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
578
|
+
Parameters: {"nonce"=>"abcd"}
|
579
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-01 16:36:45.134568') LIMIT 1
|
580
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
581
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
582
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
583
|
+
Redirected to http://test.host/
|
584
|
+
Completed 302 Found in 31ms (ActiveRecord: 0.5ms)
|
585
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
586
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
587
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
588
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Tue, 01 Oct 2013 16:41:45 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Tue, 01 Oct 2013 16:41:45 UTC +00:00]]
|
589
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
590
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
591
|
+
Parameters: {"nonce"=>"abcd"}
|
592
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-01 16:36:45.173801') LIMIT 1[0m
|
593
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
594
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
595
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
596
|
+
Redirected to http://test.host/
|
597
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
598
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "lti_provider_launches" [0m
|
599
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
600
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
601
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
602
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Tue, 01 Oct 2013 16:41:45 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Tue, 01 Oct 2013 16:41:45 UTC +00:00]]
|
603
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
604
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
605
|
+
[1m[35m (0.3ms)[0m UPDATE "lti_provider_launches" SET "created_at" = '2013-10-01 16:31:45.186039', "updated_at" = '2013-10-01 16:41:45.186458', "provider_params" = '---
|
606
|
+
custom_canvas_course_id: 1
|
607
|
+
custom_canvas_user_id: 2
|
608
|
+
tool_consumer_instance_guid: 123abc
|
609
|
+
' WHERE "lti_provider_launches"."id" = 1
|
610
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
611
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
612
|
+
Parameters: {"nonce"=>"abcd"}
|
613
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-01 16:36:45.189398') LIMIT 1
|
614
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
615
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
616
|
+
[1m[35m (0.0ms)[0m begin transaction
|
617
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
618
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Tue, 01 Oct 2013 16:41:45 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Tue, 01 Oct 2013 16:41:45 UTC +00:00]]
|
619
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
620
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
621
|
+
Parameters: {"nonce"=>"invalid"}
|
622
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-01 16:36:45.198943') LIMIT 1
|
623
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
624
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
625
|
+
[1m[35m (0.0ms)[0m begin transaction
|
626
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
627
|
+
[1m[35m (0.0ms)[0m begin transaction
|
628
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
629
|
+
[1m[35m (0.0ms)[0m begin transaction
|
630
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
631
|
+
[1m[35m (0.0ms)[0m begin transaction
|
632
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
633
|
+
[1m[35m (0.0ms)[0m begin transaction
|
634
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
635
|
+
[1m[35m (0.0ms)[0m begin transaction
|
636
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
637
|
+
[1m[35m (0.0ms)[0m begin transaction
|
638
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
639
|
+
[1m[35m (0.0ms)[0m begin transaction
|
640
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
641
|
+
[1m[35m (0.0ms)[0m begin transaction
|
642
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
643
|
+
[1m[35m (0.0ms)[0m begin transaction
|
644
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
645
|
+
[1m[35m (0.0ms)[0m begin transaction
|
646
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
647
|
+
[1m[35m (0.0ms)[0m begin transaction
|
648
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
649
|
+
[1m[35m (0.0ms)[0m begin transaction
|
650
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
651
|
+
[1m[35m (0.0ms)[0m begin transaction
|
652
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
653
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
654
|
+
Connecting to database specified by database.yml
|
655
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
656
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
657
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380742828", "oauth_nonce"=>"7i3qIpXMYEE9JO0IT4kp5q4qNtLPP7gnoGIb9FetJ0", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"uULt0eUbrmGIr2eqT2vvLzHZIk8="}
|
658
|
+
Completed 500 Internal Server Error in 14ms
|
659
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
660
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
661
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
662
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380742828", "oauth_nonce"=>"5XTvfNc3DOrojv2eXET95h5qgTjMQ4ItU2MTO1BA", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"prjhZhk+exxRh1jqyOYLRfKdqCI="}
|
663
|
+
Completed 500 Internal Server Error in 0ms
|
664
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
665
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
666
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
667
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380742828", "oauth_nonce"=>"7cMKxUZoHfNdSeNAC6j05QGcGyQ65dTfKnlZGsbSkko", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"JYJ+py0mdDQu2/wIv4qzGoIPLQg="}
|
668
|
+
Completed 500 Internal Server Error in 0ms
|
669
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
670
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
671
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
672
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380742828", "oauth_nonce"=>"okv9NZWb1w6oFb5TOMwLVXw7K3RYei9frvPS83TLqo", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"9CrmZGMZtIkaoTbZx6YhJ3BLKzc="}
|
673
|
+
Completed 500 Internal Server Error in 0ms
|
674
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
675
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
676
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
677
|
+
Completed 200 OK in 66ms (Views: 65.7ms | ActiveRecord: 0.0ms)
|
678
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
679
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
680
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
681
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
682
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
683
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
684
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
685
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
686
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
687
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
688
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
689
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
690
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
691
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
692
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
693
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
694
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
695
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
696
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
697
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
698
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
699
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
700
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
701
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
702
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
703
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
704
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
705
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
706
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
707
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
708
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
709
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
710
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
711
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
712
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
713
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
714
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
715
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
716
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
717
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
718
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
719
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
720
|
+
Connecting to database specified by database.yml
|
721
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
722
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
723
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
724
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
725
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
726
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
727
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
728
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
729
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
730
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
731
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
732
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
733
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
734
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
735
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
736
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
737
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
738
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
739
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
740
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
741
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
742
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
743
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
744
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
745
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
746
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
747
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
748
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
749
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
750
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
751
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380743059", "oauth_nonce"=>"O3rXMsyawi676fQmnoiTk6xIqzfQIFhIa8z8cEkY7g", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"QPbrZUf36hL5WPgYgLBmDwtnBHE="}
|
752
|
+
Completed 500 Internal Server Error in 1ms
|
753
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
754
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
755
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
756
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380743059", "oauth_nonce"=>"cZ7ml7yf6pvufUQvs1BuTwHnr0MvE0uA0OekpTSV6M", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"4Hap/Hw57ffzZMAG/yy46QmJQjw="}
|
757
|
+
Completed 500 Internal Server Error in 0ms
|
758
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
759
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
760
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
761
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380743059", "oauth_nonce"=>"JVqSZZubtXJeq4aYALRAJD360aYDsmfbvPz283Q", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"43S76qS9mb4aiFxcrTRufKFcshQ="}
|
762
|
+
Completed 500 Internal Server Error in 0ms
|
763
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
764
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
765
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
766
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380743059", "oauth_nonce"=>"Vv7G9x8AqDYQSwNRGo1Z1OWAhLwH87R89e5uFudEySk", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"YpbqSSFk4PRLOGUE0drmpckTNCc="}
|
767
|
+
Completed 500 Internal Server Error in 0ms
|
768
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
769
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
770
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
771
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
772
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
773
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
774
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
775
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
776
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
777
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
778
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
779
|
+
Completed 200 OK in 32ms (Views: 31.4ms | ActiveRecord: 0.0ms)
|
780
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
781
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
782
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
783
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
784
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
785
|
+
Connecting to database specified by database.yml
|
786
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
787
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
788
|
+
[1m[35m (6.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
789
|
+
[1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
790
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
791
|
+
Migrating to CreateLtiProviderLaunches (20130319050206)
|
792
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
793
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "lti_provider_launches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_url" varchar(255), "nonce" varchar(255), "provider_params" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
794
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130319050206')[0m
|
795
|
+
[1m[35m (1.4ms)[0m commit transaction
|
796
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
797
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
798
|
+
Connecting to database specified by database.yml
|
799
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
800
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
801
|
+
[1m[36mSQL (80.2ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Wed, 02 Oct 2013 19:45:08 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Wed, 02 Oct 2013 19:45:08 UTC +00:00]]
|
802
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
803
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
804
|
+
Parameters: {"nonce"=>"invalid"}
|
805
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-02 19:40:08.463088') LIMIT 1[0m
|
806
|
+
Rendered text template (0.0ms)
|
807
|
+
Completed 200 OK in 42ms (Views: 32.4ms | ActiveRecord: 0.1ms)
|
808
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
809
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
810
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
811
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Wed, 02 Oct 2013 19:45:08 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Wed, 02 Oct 2013 19:45:08 UTC +00:00]]
|
812
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
813
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
814
|
+
[1m[35m (0.3ms)[0m UPDATE "lti_provider_launches" SET "created_at" = '2013-10-02 19:35:08.512499', "updated_at" = '2013-10-02 19:45:08.512997', "provider_params" = '---
|
815
|
+
custom_canvas_course_id: 1
|
816
|
+
custom_canvas_user_id: 2
|
817
|
+
tool_consumer_instance_guid: 123abc
|
818
|
+
' WHERE "lti_provider_launches"."id" = 1
|
819
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
820
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
821
|
+
Parameters: {"nonce"=>"abcd"}
|
822
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-02 19:40:08.539015') LIMIT 1
|
823
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
824
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
825
|
+
[1m[35m (0.1ms)[0m begin transaction
|
826
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
827
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Wed, 02 Oct 2013 19:45:08 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Wed, 02 Oct 2013 19:45:08 UTC +00:00]]
|
828
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
829
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
830
|
+
Parameters: {"nonce"=>"abcd"}
|
831
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-02 19:40:08.549476') LIMIT 1
|
832
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
833
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
834
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
835
|
+
Redirected to http://test.host/
|
836
|
+
Completed 302 Found in 29ms (ActiveRecord: 0.5ms)
|
837
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
838
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
839
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
840
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Wed, 02 Oct 2013 19:45:08 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Wed, 02 Oct 2013 19:45:08 UTC +00:00]]
|
841
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
842
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
843
|
+
Parameters: {"nonce"=>"abcd"}
|
844
|
+
[1m[36mLtiProvider::Launch Load (0.4ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-02 19:40:08.590627') LIMIT 1[0m
|
845
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
846
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
847
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
848
|
+
Redirected to http://test.host/
|
849
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
|
850
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "lti_provider_launches" [0m
|
851
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
852
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
853
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
854
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380743108", "oauth_nonce"=>"AJyioF9XjN5LK809RIOSMuEal48J4RLfWG5i41XTEEg", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"RqiDmfwDRPdhB1uIZdekk1t/21o="}
|
855
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
856
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
857
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
858
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
859
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380743108", "oauth_nonce"=>"F26A0hpsbcJDKGN2qL3YCrtYmQMHB8ZGEQ3RgZlBk", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"gCmBv8epFxJvp33JV28cF1GS15Y="}
|
860
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
861
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
862
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
863
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
864
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380743108", "oauth_nonce"=>"IA3DldJLQsxNnl2nlVd9eIHusOUi19aDeI9sPWHmbw", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"I/BJZNBnPojCw0Tb4UlMBdAYHF0="}
|
865
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
866
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Wed, 02 Oct 2013 19:45:08 UTC +00:00], ["nonce", "IA3DldJLQsxNnl2nlVd9eIHusOUi19aDeI9sPWHmbw"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: IA3DldJLQsxNnl2nlVd9eIHusOUi19aDeI9sPWHmbw\noauth_signature: I/BJZNBnPojCw0Tb4UlMBdAYHF0=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1380743108'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Wed, 02 Oct 2013 19:45:08 UTC +00:00]]
|
867
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
868
|
+
Redirected to http://test.host/cookie_test?nonce=IA3DldJLQsxNnl2nlVd9eIHusOUi19aDeI9sPWHmbw
|
869
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
870
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
871
|
+
[1m[35m (0.0ms)[0m begin transaction
|
872
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
873
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1380743108", "oauth_nonce"=>"Gq1ea5FnXP7nt9KTOBsACeC6lyynrYi1s4trZqvY", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"D9T/UL1go7eifr+lj4VcjdYgrHc="}
|
874
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
875
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Wed, 02 Oct 2013 19:45:08 UTC +00:00], ["nonce", "Gq1ea5FnXP7nt9KTOBsACeC6lyynrYi1s4trZqvY"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: Gq1ea5FnXP7nt9KTOBsACeC6lyynrYi1s4trZqvY\noauth_signature: D9T/UL1go7eifr+lj4VcjdYgrHc=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1380743108'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Wed, 02 Oct 2013 19:45:08 UTC +00:00]]
|
876
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
877
|
+
Redirected to http://test.host/cookie_test?nonce=Gq1ea5FnXP7nt9KTOBsACeC6lyynrYi1s4trZqvY
|
878
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
879
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
880
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
881
|
+
[1m[35m (0.0ms)[0m begin transaction
|
882
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
883
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
884
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
885
|
+
[1m[35m (0.0ms)[0m begin transaction
|
886
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
887
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
888
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
889
|
+
[1m[35m (0.0ms)[0m begin transaction
|
890
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
891
|
+
[1m[35m (0.0ms)[0m begin transaction
|
892
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
893
|
+
[1m[35m (0.0ms)[0m begin transaction
|
894
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
895
|
+
[1m[35m (0.0ms)[0m begin transaction
|
896
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
897
|
+
[1m[35m (0.0ms)[0m begin transaction
|
898
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
899
|
+
[1m[35m (0.0ms)[0m begin transaction
|
900
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
901
|
+
[1m[35m (0.0ms)[0m begin transaction
|
902
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
903
|
+
[1m[35m (0.0ms)[0m begin transaction
|
904
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
905
|
+
[1m[35m (0.0ms)[0m begin transaction
|
906
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
907
|
+
[1m[35m (0.0ms)[0m begin transaction
|
908
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
909
|
+
[1m[35m (0.0ms)[0m begin transaction
|
910
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
911
|
+
[1m[35m (0.0ms)[0m begin transaction
|
912
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
913
|
+
[1m[35m (0.1ms)[0m begin transaction
|
914
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
915
|
+
[1m[35m (0.0ms)[0m begin transaction
|
916
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
917
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
918
|
+
Connecting to database specified by database.yml
|
919
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
920
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
921
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
922
|
+
Connecting to database specified by database.yml
|
923
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
924
|
+
Processing by LtiProvider::LtiController#configure as XML
|
925
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
926
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
927
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
928
|
+
Connecting to database specified by database.yml
|
929
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
930
|
+
Processing by LtiProvider::LtiController#configure as XML
|
931
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
932
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
933
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
934
|
+
Connecting to database specified by database.yml
|
935
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
936
|
+
Processing by LtiProvider::LtiController#configure as XML
|
937
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
938
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
939
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
940
|
+
Connecting to database specified by database.yml
|
941
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
942
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
943
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
944
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
945
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
946
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
947
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
948
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
949
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
950
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
951
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
952
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
953
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
954
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
955
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
956
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
957
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
958
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
959
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
960
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
961
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
962
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
963
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
964
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
965
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
966
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
967
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
968
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
969
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
970
|
+
Connecting to database specified by database.yml
|
971
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
972
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
973
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
974
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
975
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
976
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
977
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
978
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
979
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
980
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
981
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
982
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
983
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
984
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
985
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
986
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
987
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
988
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
989
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
990
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
991
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
992
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
993
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
994
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
995
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
996
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
997
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
998
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
999
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
1000
|
+
Connecting to database specified by database.yml
|
1001
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1002
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1003
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1004
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1005
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1006
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1007
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1008
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1009
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1010
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1011
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1012
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1013
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1014
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1015
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1016
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1017
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1018
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1019
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1020
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1021
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1022
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1023
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1024
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1025
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1026
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1027
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1028
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1029
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
1030
|
+
Connecting to database specified by database.yml
|
1031
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1032
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1033
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1034
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1035
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1036
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1037
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1038
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1039
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1040
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1041
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1042
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1043
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1044
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1045
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1046
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1047
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1048
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1049
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1050
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1051
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1052
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1053
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1054
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1055
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1056
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1057
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1058
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1059
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
1060
|
+
Connecting to database specified by database.yml
|
1061
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1062
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1063
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1064
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1065
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1066
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1067
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1068
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1069
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1070
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1071
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1072
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1073
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1074
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1075
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1076
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1077
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1078
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1079
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1080
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1081
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1082
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1083
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1084
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1085
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1086
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1087
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1088
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1089
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
1090
|
+
Connecting to database specified by database.yml
|
1091
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1092
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1093
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1094
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1095
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1096
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1097
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1098
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1099
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1100
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1101
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1102
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1103
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1104
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1106
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1107
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1108
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1109
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1110
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1111
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1112
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1113
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1114
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1115
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1116
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1117
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1118
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1119
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
1120
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
1121
|
+
Connecting to database specified by database.yml
|
1122
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1123
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1124
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1125
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1126
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1127
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1128
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1129
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1130
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1131
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1132
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1133
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1134
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1135
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1136
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1137
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1138
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1139
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1140
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1141
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1142
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1143
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1144
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1145
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1146
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1147
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1148
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1149
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1150
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
1151
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
1152
|
+
Connecting to database specified by database.yml
|
1153
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1154
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
1155
|
+
Rendered /Users/simonista/Instructure/lti_provider_engine/app/views/lti_provider/lti/cookie_test.html.erb within layouts/lti_provider/application (0.2ms)
|
1156
|
+
Completed 200 OK in 18ms (Views: 18.1ms | ActiveRecord: 0.0ms)
|
1157
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1158
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1159
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
1160
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1161
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1162
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1163
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1164
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1381961552", "oauth_nonce"=>"Q8tMN4844vBwTQIMZ62IpLGBm32IvaXcGGVt5qJGc0w", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"3rK3TKzaBuV88enrKPrLdWA47RA="}
|
1165
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1166
|
+
[1m[36mSQL (76.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Wed, 16 Oct 2013 22:12:32 UTC +00:00], ["nonce", "Q8tMN4844vBwTQIMZ62IpLGBm32IvaXcGGVt5qJGc0w"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: Q8tMN4844vBwTQIMZ62IpLGBm32IvaXcGGVt5qJGc0w\noauth_signature: 3rK3TKzaBuV88enrKPrLdWA47RA=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1381961552'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Wed, 16 Oct 2013 22:12:32 UTC +00:00]]
|
1167
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1168
|
+
Redirected to http://test.host/cookie_test?nonce=Q8tMN4844vBwTQIMZ62IpLGBm32IvaXcGGVt5qJGc0w
|
1169
|
+
Completed 302 Found in 93ms (ActiveRecord: 78.1ms)
|
1170
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1171
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1172
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1173
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1381961552", "oauth_nonce"=>"jHOocSQNhiqK4WRstTalPoTYXauk0KZqwprDorqhzI", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"nxzCoXaPziDTmCY4ZGVOk1xhTuo="}
|
1174
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1175
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Wed, 16 Oct 2013 22:12:32 UTC +00:00], ["nonce", "jHOocSQNhiqK4WRstTalPoTYXauk0KZqwprDorqhzI"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: jHOocSQNhiqK4WRstTalPoTYXauk0KZqwprDorqhzI\noauth_signature: nxzCoXaPziDTmCY4ZGVOk1xhTuo=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1381961552'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Wed, 16 Oct 2013 22:12:32 UTC +00:00]]
|
1176
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1177
|
+
Redirected to http://test.host/cookie_test?nonce=jHOocSQNhiqK4WRstTalPoTYXauk0KZqwprDorqhzI
|
1178
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
1179
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
1180
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1181
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1182
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1183
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1381961552", "oauth_nonce"=>"RvypYr1bCmjzZ2inCKANixedjNvDWHZWTiMihQqg", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"xkbpE65BRMI5E62ZHsHUbU7TPaI="}
|
1184
|
+
Completed 200 OK in 19ms (Views: 18.3ms | ActiveRecord: 0.0ms)
|
1185
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1186
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1187
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1188
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1381961552", "oauth_nonce"=>"xA1HVFg5tojsnYXDtMxQIKkR7LGdcQt6Zclo6P5XEc", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"K2saAD/UPQ5nr26PsxdoeYWy4NM="}
|
1189
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1190
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1191
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1192
|
+
Processing by LtiProvider::LtiController#configure as XML
|
1193
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1194
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1195
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1196
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1197
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Wed, 16 Oct 2013 22:12:32 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Wed, 16 Oct 2013 22:12:32 UTC +00:00]]
|
1198
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1199
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1200
|
+
Parameters: {"nonce"=>"abcd"}
|
1201
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-16 22:07:32.412449') LIMIT 1
|
1202
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1203
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
1204
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1205
|
+
Redirected to http://test.host/
|
1206
|
+
Completed 302 Found in 29ms (ActiveRecord: 0.6ms)
|
1207
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1208
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1209
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1210
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Wed, 16 Oct 2013 22:12:32 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Wed, 16 Oct 2013 22:12:32 UTC +00:00]]
|
1211
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1212
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1213
|
+
Parameters: {"nonce"=>"abcd"}
|
1214
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-16 22:07:32.474803') LIMIT 1[0m
|
1215
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1216
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
1217
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1218
|
+
Redirected to http://test.host/
|
1219
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
|
1220
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "lti_provider_launches" [0m
|
1221
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1222
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1223
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1224
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Wed, 16 Oct 2013 22:12:32 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Wed, 16 Oct 2013 22:12:32 UTC +00:00]]
|
1225
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1226
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1227
|
+
[1m[35m (0.3ms)[0m UPDATE "lti_provider_launches" SET "created_at" = '2013-10-16 22:02:32.489623', "updated_at" = '2013-10-16 22:12:32.490121', "provider_params" = '---
|
1228
|
+
custom_canvas_course_id: 1
|
1229
|
+
custom_canvas_user_id: 2
|
1230
|
+
tool_consumer_instance_guid: 123abc
|
1231
|
+
' WHERE "lti_provider_launches"."id" = 1
|
1232
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1233
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1234
|
+
Parameters: {"nonce"=>"abcd"}
|
1235
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-16 22:07:32.493175') LIMIT 1
|
1236
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1237
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1238
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1239
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1240
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Wed, 16 Oct 2013 22:12:32 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Wed, 16 Oct 2013 22:12:32 UTC +00:00]]
|
1241
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1242
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1243
|
+
Parameters: {"nonce"=>"invalid"}
|
1244
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-16 22:07:32.502671') LIMIT 1
|
1245
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1246
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1247
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1248
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1249
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1250
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1251
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1252
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1253
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1254
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1255
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1256
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1257
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1258
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1259
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1260
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1261
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1262
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1263
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1264
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1265
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1266
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1267
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1268
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1269
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1270
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1271
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1272
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1273
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1274
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1275
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
1276
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
1277
|
+
Connecting to database specified by database.yml
|
1278
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1279
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1280
|
+
[1m[36mSQL (4.2ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Wed, 16 Oct 2013 22:13:00 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Wed, 16 Oct 2013 22:13:00 UTC +00:00]]
|
1281
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1282
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1283
|
+
Parameters: {"nonce"=>"abcd"}
|
1284
|
+
[1m[36mLtiProvider::Launch Load (0.2ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-16 22:08:00.276190') LIMIT 1[0m
|
1285
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1286
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
1287
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1288
|
+
Redirected to http://test.host/
|
1289
|
+
Completed 302 Found in 33ms (ActiveRecord: 0.6ms)
|
1290
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
1291
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1292
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1293
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Wed, 16 Oct 2013 22:13:00 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Wed, 16 Oct 2013 22:13:00 UTC +00:00]]
|
1294
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1295
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1296
|
+
Parameters: {"nonce"=>"abcd"}
|
1297
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-16 22:08:00.319658') LIMIT 1
|
1298
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1299
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
1300
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1301
|
+
Redirected to http://test.host/
|
1302
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
1303
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "lti_provider_launches"
|
1304
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1305
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1306
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1307
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Wed, 16 Oct 2013 22:13:00 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Wed, 16 Oct 2013 22:13:00 UTC +00:00]]
|
1308
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1309
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1310
|
+
Parameters: {"nonce"=>"invalid"}
|
1311
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-16 22:08:00.334021') LIMIT 1
|
1312
|
+
Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.1ms)
|
1313
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1314
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1315
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1316
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Wed, 16 Oct 2013 22:13:00 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Wed, 16 Oct 2013 22:13:00 UTC +00:00]]
|
1317
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1318
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1319
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "lti_provider_launches" SET "created_at" = '2013-10-16 22:03:00.351565', "updated_at" = '2013-10-16 22:13:00.352077', "provider_params" = '---
|
1320
|
+
custom_canvas_course_id: 1
|
1321
|
+
custom_canvas_user_id: 2
|
1322
|
+
tool_consumer_instance_guid: 123abc
|
1323
|
+
' WHERE "lti_provider_launches"."id" = 1[0m
|
1324
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1325
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1326
|
+
Parameters: {"nonce"=>"abcd"}
|
1327
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-16 22:08:00.355069') LIMIT 1[0m
|
1328
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1329
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1330
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1331
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
1332
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
1333
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1334
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1335
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
1336
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
1337
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1338
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1339
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1340
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1381961580", "oauth_nonce"=>"HwM8pftQ9bjCoUU2FvqrxdOLLeeDzI7PVGBT56G6o", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"ZNIxoox7ecT03dltxnpKHKYqhpQ="}
|
1341
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1342
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Wed, 16 Oct 2013 22:13:00 UTC +00:00], ["nonce", "HwM8pftQ9bjCoUU2FvqrxdOLLeeDzI7PVGBT56G6o"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: HwM8pftQ9bjCoUU2FvqrxdOLLeeDzI7PVGBT56G6o\noauth_signature: ZNIxoox7ecT03dltxnpKHKYqhpQ=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1381961580'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Wed, 16 Oct 2013 22:13:00 UTC +00:00]]
|
1343
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1344
|
+
Redirected to http://test.host/cookie_test?nonce=HwM8pftQ9bjCoUU2FvqrxdOLLeeDzI7PVGBT56G6o
|
1345
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
1346
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
1347
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1348
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1349
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1381961580", "oauth_nonce"=>"H25D5BXci8wKCEw7eCpaCe2MZUdE5FdMgIieLlzvY", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"VfxO58mxe8mSBsM4uDFUAEwSNlU="}
|
1350
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1351
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Wed, 16 Oct 2013 22:13:00 UTC +00:00], ["nonce", "H25D5BXci8wKCEw7eCpaCe2MZUdE5FdMgIieLlzvY"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: H25D5BXci8wKCEw7eCpaCe2MZUdE5FdMgIieLlzvY\noauth_signature: VfxO58mxe8mSBsM4uDFUAEwSNlU=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1381961580'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Wed, 16 Oct 2013 22:13:00 UTC +00:00]]
|
1352
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1353
|
+
Redirected to http://test.host/cookie_test?nonce=H25D5BXci8wKCEw7eCpaCe2MZUdE5FdMgIieLlzvY
|
1354
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
|
1355
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
1356
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1357
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1358
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1359
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1381961580", "oauth_nonce"=>"6YcV0b5d0agYNPvpvkJQc1qBWG73d0itPzXmFSpct20", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"0BNckQULHD71Vl0qiMhuVv77Hsk="}
|
1360
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1361
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1362
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1363
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1364
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1381961580", "oauth_nonce"=>"BxLDWxbmRiGpJ8ColJdW0c59X1g8BB0ZHzW9QguAw", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"Uj0djiImQnBqH3QDbZgRxdVLw8c="}
|
1365
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1366
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1367
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1368
|
+
Processing by LtiProvider::LtiController#configure as XML
|
1369
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1370
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1371
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1372
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1373
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1374
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1375
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1376
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1377
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1378
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1379
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1380
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1381
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1382
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1383
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1384
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1385
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1386
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1387
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1388
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1389
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1390
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1391
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1392
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1393
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1394
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1395
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1396
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1397
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1398
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1399
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
1400
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
1401
|
+
Connecting to database specified by database.yml
|
1402
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1403
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1404
|
+
[1m[36mSQL (4.2ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Wed, 16 Oct 2013 22:13:35 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Wed, 16 Oct 2013 22:13:35 UTC +00:00]]
|
1405
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1406
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1407
|
+
[1m[35m (0.3ms)[0m UPDATE "lti_provider_launches" SET "created_at" = '2013-10-16 22:03:35.954559', "updated_at" = '2013-10-16 22:13:35.955198', "provider_params" = '---
|
1408
|
+
custom_canvas_course_id: 1
|
1409
|
+
custom_canvas_user_id: 2
|
1410
|
+
tool_consumer_instance_guid: 123abc
|
1411
|
+
' WHERE "lti_provider_launches"."id" = 1
|
1412
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1413
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1414
|
+
Parameters: {"nonce"=>"abcd"}
|
1415
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-16 22:08:35.965715') LIMIT 1
|
1416
|
+
Rendered text template (0.0ms)
|
1417
|
+
Completed 200 OK in 33ms (Views: 29.1ms | ActiveRecord: 0.1ms)
|
1418
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
1419
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1420
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1421
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Wed, 16 Oct 2013 22:13:36 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Wed, 16 Oct 2013 22:13:36 UTC +00:00]]
|
1422
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1423
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1424
|
+
Parameters: {"nonce"=>"invalid"}
|
1425
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-16 22:08:36.008937') LIMIT 1
|
1426
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1427
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1428
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1429
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1430
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Wed, 16 Oct 2013 22:13:36 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Wed, 16 Oct 2013 22:13:36 UTC +00:00]]
|
1431
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1432
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1433
|
+
Parameters: {"nonce"=>"abcd"}
|
1434
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-16 22:08:36.019092') LIMIT 1
|
1435
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1436
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
1437
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1438
|
+
Redirected to http://test.host/
|
1439
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
|
1440
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
1441
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1442
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1443
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Wed, 16 Oct 2013 22:13:36 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Wed, 16 Oct 2013 22:13:36 UTC +00:00]]
|
1444
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1445
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1446
|
+
Parameters: {"nonce"=>"abcd"}
|
1447
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-16 22:08:36.036008') LIMIT 1[0m
|
1448
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1449
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
1450
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1451
|
+
Redirected to http://test.host/
|
1452
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
|
1453
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "lti_provider_launches" [0m
|
1454
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1455
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1456
|
+
Processing by LtiProvider::LtiController#configure as XML
|
1457
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1458
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1459
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1460
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
1461
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
1462
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1463
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1464
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
1465
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1466
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1467
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1468
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1469
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1381961616", "oauth_nonce"=>"YWZVzyHgialAZbZ6NXquhUef7csd3f4KN1FOZ5SI", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"NgHQkQfPF9x7TqYCWuC+JDLOzJE="}
|
1470
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1471
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1472
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1473
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1474
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1381961616", "oauth_nonce"=>"MKCOdCgpsRBRtDfJao8xoMe3iFZq4zDhXcERHvmvJ1s", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"/fcdVn0ytLIhqJJWjFWj3PIHOtw="}
|
1475
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1476
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1477
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1478
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1479
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1381961616", "oauth_nonce"=>"RQ96RL4fz4yAFeiuj9lA9qY0HDdCdg379P643ietNjA", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"kdGMkgRB+f8TBvlv5OFnYWBhd5o="}
|
1480
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1481
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Wed, 16 Oct 2013 22:13:36 UTC +00:00], ["nonce", "RQ96RL4fz4yAFeiuj9lA9qY0HDdCdg379P643ietNjA"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: RQ96RL4fz4yAFeiuj9lA9qY0HDdCdg379P643ietNjA\noauth_signature: kdGMkgRB+f8TBvlv5OFnYWBhd5o=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1381961616'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Wed, 16 Oct 2013 22:13:36 UTC +00:00]]
|
1482
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1483
|
+
Redirected to http://test.host/cookie_test?nonce=RQ96RL4fz4yAFeiuj9lA9qY0HDdCdg379P643ietNjA
|
1484
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
1485
|
+
[1m[36m (5.3ms)[0m [1mrollback transaction[0m
|
1486
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1487
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1488
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1381961616", "oauth_nonce"=>"AbVyVMumR1Bma6LLqp6VOr0v9hHBMiL2TnobbsNL8", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"K5FCM6NPWeZaHwh/nXBTYfrcU7I="}
|
1489
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1490
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Wed, 16 Oct 2013 22:13:36 UTC +00:00], ["nonce", "AbVyVMumR1Bma6LLqp6VOr0v9hHBMiL2TnobbsNL8"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: AbVyVMumR1Bma6LLqp6VOr0v9hHBMiL2TnobbsNL8\noauth_signature: K5FCM6NPWeZaHwh/nXBTYfrcU7I=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1381961616'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Wed, 16 Oct 2013 22:13:36 UTC +00:00]]
|
1491
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1492
|
+
Redirected to http://test.host/cookie_test?nonce=AbVyVMumR1Bma6LLqp6VOr0v9hHBMiL2TnobbsNL8
|
1493
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
1494
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
1495
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1496
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1497
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1498
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1499
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1500
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1501
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1502
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1503
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1504
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1505
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1506
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1507
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1508
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1509
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1510
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1511
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1512
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1513
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1514
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1515
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1516
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1517
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1518
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1519
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1520
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1521
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1522
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1523
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1524
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
1525
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
1526
|
+
Connecting to database specified by database.yml
|
1527
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1528
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
1529
|
+
Rendered /Users/simonista/Instructure/lti_provider_engine/app/views/lti_provider/lti/cookie_test.html.erb within layouts/lti_provider/application (0.2ms)
|
1530
|
+
Completed 200 OK in 46ms (Views: 45.9ms | ActiveRecord: 0.0ms)
|
1531
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1532
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1533
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
1534
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1535
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1536
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1537
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1538
|
+
[1m[36mSQL (96.6ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 21:56:42 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 21:56:42 UTC +00:00]]
|
1539
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1540
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1541
|
+
Parameters: {"nonce"=>"abcd"}
|
1542
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:51:43.014291') LIMIT 1[0m
|
1543
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1544
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
1545
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1546
|
+
Redirected to http://test.host/
|
1547
|
+
Completed 302 Found in 39ms (ActiveRecord: 0.5ms)
|
1548
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
1549
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1550
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1551
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 21:56:43 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 21:56:43 UTC +00:00]]
|
1552
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1553
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1554
|
+
Parameters: {"nonce"=>"abcd"}
|
1555
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:51:43.066310') LIMIT 1
|
1556
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1557
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
1558
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1559
|
+
Redirected to http://test.host/
|
1560
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
1561
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "lti_provider_launches"
|
1562
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1563
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1564
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1565
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 21:56:43 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 21:56:43 UTC +00:00]]
|
1566
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1567
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1568
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "lti_provider_launches" SET "created_at" = '2013-10-17 21:46:43.079210', "updated_at" = '2013-10-17 21:56:43.079685', "provider_params" = '---
|
1569
|
+
custom_canvas_course_id: 1
|
1570
|
+
custom_canvas_user_id: 2
|
1571
|
+
tool_consumer_instance_guid: 123abc
|
1572
|
+
' WHERE "lti_provider_launches"."id" = 1[0m
|
1573
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1574
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1575
|
+
Parameters: {"nonce"=>"abcd"}
|
1576
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:51:43.082576') LIMIT 1[0m
|
1577
|
+
Completed 200 OK in 33ms (Views: 32.2ms | ActiveRecord: 0.1ms)
|
1578
|
+
[1m[35m (144.2ms)[0m rollback transaction
|
1579
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1580
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1581
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 21:56:43 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 21:56:43 UTC +00:00]]
|
1582
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1583
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1584
|
+
Parameters: {"nonce"=>"invalid"}
|
1585
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-17 21:51:43.273141') LIMIT 1[0m
|
1586
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1587
|
+
[1m[35m (9.5ms)[0m rollback transaction
|
1588
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1589
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1590
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047003", "oauth_nonce"=>"rmYFazGvOckq1lyeLlVSerXtKWUDGGRPLT2DyH2xo", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"LeBDVKaUlsFGkzr1SgQYq98jgcs="}
|
1591
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1592
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 21:56:43 UTC +00:00], ["nonce", "rmYFazGvOckq1lyeLlVSerXtKWUDGGRPLT2DyH2xo"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: rmYFazGvOckq1lyeLlVSerXtKWUDGGRPLT2DyH2xo\noauth_signature: LeBDVKaUlsFGkzr1SgQYq98jgcs=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047003'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 21:56:43 UTC +00:00]]
|
1593
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1594
|
+
Redirected to http://test.host/cookie_test?nonce=rmYFazGvOckq1lyeLlVSerXtKWUDGGRPLT2DyH2xo
|
1595
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
1596
|
+
[1m[36m (24.1ms)[0m [1mrollback transaction[0m
|
1597
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1598
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1599
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047003", "oauth_nonce"=>"vHUPH58geWFOw9AFovZEQUiTdHqwX7eu1HS5xTzpMI", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"Mh/RuMh07usqdbuLxyqxRN6w4N8="}
|
1600
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1601
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 21:56:43 UTC +00:00], ["nonce", "vHUPH58geWFOw9AFovZEQUiTdHqwX7eu1HS5xTzpMI"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: vHUPH58geWFOw9AFovZEQUiTdHqwX7eu1HS5xTzpMI\noauth_signature: Mh/RuMh07usqdbuLxyqxRN6w4N8=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047003'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 21:56:43 UTC +00:00]]
|
1602
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1603
|
+
Redirected to http://test.host/cookie_test?nonce=vHUPH58geWFOw9AFovZEQUiTdHqwX7eu1HS5xTzpMI
|
1604
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
|
1605
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
1606
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1607
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1608
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1609
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047003", "oauth_nonce"=>"eExE578gwQIK6Smvd8nUtYFq5PuIKLd4rkzXvqXaQo", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"fEvpz4lkXkcjQLcpvyyk/Tj4nqk="}
|
1610
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1611
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1612
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1613
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1614
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047003", "oauth_nonce"=>"LkDo0lwqs6Kp9OmLo0Q03Z0kzosUsLGZfjdyvSyxNH8", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"NaP7b3SqvPJzTz81ER9i/qBZfMg="}
|
1615
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1616
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1617
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1618
|
+
Processing by LtiProvider::LtiController#configure as XML
|
1619
|
+
Completed 500 Internal Server Error in 1ms
|
1620
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1621
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1622
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1623
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1624
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1625
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1626
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1627
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1628
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1629
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1630
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1631
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1632
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1633
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1634
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1635
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1636
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1637
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1638
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1639
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1640
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1641
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1642
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1643
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1644
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1645
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1646
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1647
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1648
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1649
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
1650
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
1651
|
+
Connecting to database specified by database.yml
|
1652
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1653
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
1654
|
+
Rendered /Users/simonista/Instructure/lti_provider_engine/app/views/lti_provider/lti/cookie_test.html.erb within layouts/lti_provider/application (0.2ms)
|
1655
|
+
Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)
|
1656
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1657
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1658
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
1659
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1660
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1661
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1662
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1663
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047062", "oauth_nonce"=>"KKhBCIhcqqXDl6DUjZzTh8wRn3kQ91jJHgc4iExk", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"2TIf8ZBHlpSZvCb0Rx2evlrdjI0="}
|
1664
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1665
|
+
[1m[36mSQL (3.9ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 21:57:42 UTC +00:00], ["nonce", "KKhBCIhcqqXDl6DUjZzTh8wRn3kQ91jJHgc4iExk"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: KKhBCIhcqqXDl6DUjZzTh8wRn3kQ91jJHgc4iExk\noauth_signature: 2TIf8ZBHlpSZvCb0Rx2evlrdjI0=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047062'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 21:57:42 UTC +00:00]]
|
1666
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1667
|
+
Redirected to http://test.host/cookie_test?nonce=KKhBCIhcqqXDl6DUjZzTh8wRn3kQ91jJHgc4iExk
|
1668
|
+
Completed 302 Found in 19ms (ActiveRecord: 5.5ms)
|
1669
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
1670
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1671
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1672
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047062", "oauth_nonce"=>"7UxrCz4wqrCqEM1ZeuqgViagbx3r68NGjHJ5PkiXYZ8", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"8QwTx23ynUQoYCyCnaXC2D9+joQ="}
|
1673
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1674
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 21:57:42 UTC +00:00], ["nonce", "7UxrCz4wqrCqEM1ZeuqgViagbx3r68NGjHJ5PkiXYZ8"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: 7UxrCz4wqrCqEM1ZeuqgViagbx3r68NGjHJ5PkiXYZ8\noauth_signature: 8QwTx23ynUQoYCyCnaXC2D9+joQ=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047062'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 21:57:42 UTC +00:00]]
|
1675
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1676
|
+
Redirected to http://test.host/cookie_test?nonce=7UxrCz4wqrCqEM1ZeuqgViagbx3r68NGjHJ5PkiXYZ8
|
1677
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
|
1678
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
1679
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1680
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1681
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1682
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047062", "oauth_nonce"=>"pXh0mlgqIcmFfhFm4ukrF9jt9kZ2pfigsgGXPZhsP1M", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"8b0U2oVXvS1BKd7KDFeZChsYGqA="}
|
1683
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
1684
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1685
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1686
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1687
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047062", "oauth_nonce"=>"aydMyLjZeMnP8TXEqt34W84OXNivIQfSSfsnLAnM", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"KpagvewzQ9mA9b+5cWa/68qcMPw="}
|
1688
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1689
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1690
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1691
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1692
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 21:57:42 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 21:57:42 UTC +00:00]]
|
1693
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1694
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1695
|
+
Parameters: {"nonce"=>"abcd"}
|
1696
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:52:42.757159') LIMIT 1
|
1697
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1698
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
1699
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1700
|
+
Redirected to http://test.host/
|
1701
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.5ms)
|
1702
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1703
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1704
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1705
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 21:57:42 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 21:57:42 UTC +00:00]]
|
1706
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1707
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1708
|
+
Parameters: {"nonce"=>"abcd"}
|
1709
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:52:42.775395') LIMIT 1[0m
|
1710
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1711
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
1712
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1713
|
+
Redirected to http://test.host/
|
1714
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
1715
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "lti_provider_launches" [0m
|
1716
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1717
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1718
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1719
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 21:57:42 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 21:57:42 UTC +00:00]]
|
1720
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1721
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1722
|
+
[1m[35m (0.2ms)[0m UPDATE "lti_provider_launches" SET "created_at" = '2013-10-17 21:47:42.787298', "updated_at" = '2013-10-17 21:57:42.787743', "provider_params" = '---
|
1723
|
+
custom_canvas_course_id: 1
|
1724
|
+
custom_canvas_user_id: 2
|
1725
|
+
tool_consumer_instance_guid: 123abc
|
1726
|
+
' WHERE "lti_provider_launches"."id" = 1
|
1727
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1728
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1729
|
+
Parameters: {"nonce"=>"abcd"}
|
1730
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:52:42.790400') LIMIT 1
|
1731
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1732
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
1733
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1734
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1735
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 21:57:42 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 21:57:42 UTC +00:00]]
|
1736
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1737
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1738
|
+
Parameters: {"nonce"=>"invalid"}
|
1739
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-17 21:52:42.799661') LIMIT 1
|
1740
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1741
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1742
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1743
|
+
Processing by LtiProvider::LtiController#configure as XML
|
1744
|
+
Completed 500 Internal Server Error in 5ms
|
1745
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1746
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1747
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1748
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1749
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1750
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1751
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1752
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1753
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1754
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1755
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1756
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1757
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1758
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1759
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1760
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1761
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1762
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1763
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1764
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1765
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1766
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1767
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1768
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1769
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1770
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1771
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1772
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1773
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1774
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
1775
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
1776
|
+
Connecting to database specified by database.yml
|
1777
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1778
|
+
Processing by LtiProvider::LtiController#configure as XML
|
1779
|
+
Completed 500 Internal Server Error in 1ms
|
1780
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1781
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1782
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1783
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047166", "oauth_nonce"=>"zXFXaSAXjkSmGQdXcEL0OijBzfTMLjuZnxZVE5rQmY", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"u9r8NsHikb2dg72pOenfNx/s23g="}
|
1784
|
+
Completed 200 OK in 17ms (Views: 8.7ms | ActiveRecord: 1.4ms)
|
1785
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1786
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1787
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1788
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047166", "oauth_nonce"=>"GtGfGwkfg4VbQ8zLpOyZTtyWqmk0NikjlU764miUwyA", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"52+EFZMYQy288WN92b0sMYVM1+c="}
|
1789
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1790
|
+
[1m[36mSQL (4.2ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 21:59:26 UTC +00:00], ["nonce", "GtGfGwkfg4VbQ8zLpOyZTtyWqmk0NikjlU764miUwyA"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: GtGfGwkfg4VbQ8zLpOyZTtyWqmk0NikjlU764miUwyA\noauth_signature: 52+EFZMYQy288WN92b0sMYVM1+c=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047166'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 21:59:26 UTC +00:00]]
|
1791
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1792
|
+
Redirected to http://test.host/cookie_test?nonce=GtGfGwkfg4VbQ8zLpOyZTtyWqmk0NikjlU764miUwyA
|
1793
|
+
Completed 302 Found in 12ms (ActiveRecord: 4.3ms)
|
1794
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
1795
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1796
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1797
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047166", "oauth_nonce"=>"vTkeGvgG7BO24fyZew4lqaYfd6d5MZEEy9re2MxWc", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"fB3f6GEftVd2GPgYrIfAL0f0d4s="}
|
1798
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1799
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 21:59:26 UTC +00:00], ["nonce", "vTkeGvgG7BO24fyZew4lqaYfd6d5MZEEy9re2MxWc"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: vTkeGvgG7BO24fyZew4lqaYfd6d5MZEEy9re2MxWc\noauth_signature: fB3f6GEftVd2GPgYrIfAL0f0d4s=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047166'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 21:59:26 UTC +00:00]]
|
1800
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1801
|
+
Redirected to http://test.host/cookie_test?nonce=vTkeGvgG7BO24fyZew4lqaYfd6d5MZEEy9re2MxWc
|
1802
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
|
1803
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
1804
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1805
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1806
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1807
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047166", "oauth_nonce"=>"XCiTrbaMaFf7JmWTLztwgBq1pKSy11gJjoNZwVkzo6k", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"qpr4LO///h21NKYpvHnqQRxBZFE="}
|
1808
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1809
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1810
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1811
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1812
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 21:59:26 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 21:59:26 UTC +00:00]]
|
1813
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1814
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1815
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "lti_provider_launches" SET "created_at" = '2013-10-17 21:49:26.287282', "updated_at" = '2013-10-17 21:59:26.287768', "provider_params" = '---
|
1816
|
+
custom_canvas_course_id: 1
|
1817
|
+
custom_canvas_user_id: 2
|
1818
|
+
tool_consumer_instance_guid: 123abc
|
1819
|
+
' WHERE "lti_provider_launches"."id" = 1[0m
|
1820
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1821
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1822
|
+
Parameters: {"nonce"=>"abcd"}
|
1823
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:54:26.290824') LIMIT 1[0m
|
1824
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1825
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1826
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1827
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1828
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 21:59:26 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 21:59:26 UTC +00:00]]
|
1829
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1830
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1831
|
+
Parameters: {"nonce"=>"abcd"}
|
1832
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:54:26.307716') LIMIT 1[0m
|
1833
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1834
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
1835
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1836
|
+
Redirected to http://test.host/
|
1837
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
|
1838
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1839
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1840
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1841
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 21:59:26 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 21:59:26 UTC +00:00]]
|
1842
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1843
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1844
|
+
Parameters: {"nonce"=>"abcd"}
|
1845
|
+
[1m[35mLtiProvider::Launch Load (0.2ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:54:26.324666') LIMIT 1
|
1846
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1847
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
1848
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1849
|
+
Redirected to http://test.host/
|
1850
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
|
1851
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "lti_provider_launches"
|
1852
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1853
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1854
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1855
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 21:59:26 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 21:59:26 UTC +00:00]]
|
1856
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1857
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1858
|
+
Parameters: {"nonce"=>"invalid"}
|
1859
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-17 21:54:26.339493') LIMIT 1
|
1860
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1861
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1862
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1863
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
1864
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
1865
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1866
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1867
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
1868
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1869
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1870
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1871
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1872
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1873
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1874
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1875
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1876
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1877
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1878
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1879
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1880
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1881
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1882
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1883
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1884
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1885
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1886
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1887
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1888
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1889
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1890
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1891
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1892
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1893
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1894
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1895
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1896
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1897
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1898
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
1899
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
1900
|
+
Connecting to database specified by database.yml
|
1901
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1902
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1903
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1904
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1905
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1906
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1907
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1908
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1909
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1910
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1911
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1912
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1913
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1914
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1915
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1916
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1917
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1918
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1919
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1920
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1921
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1922
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1923
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1924
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1925
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1926
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1927
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1928
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1929
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1930
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
1931
|
+
Rendered /Users/simonista/Instructure/lti_provider_engine/app/views/lti_provider/lti/cookie_test.html.erb within layouts/lti_provider/application (0.2ms)
|
1932
|
+
Completed 200 OK in 8ms (Views: 8.2ms | ActiveRecord: 0.0ms)
|
1933
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1934
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1935
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
1936
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1937
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1938
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1939
|
+
Processing by LtiProvider::LtiController#configure as XML
|
1940
|
+
Completed 500 Internal Server Error in 16ms
|
1941
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1942
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1943
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1944
|
+
[1m[36mSQL (4.0ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 21:59:58 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 21:59:58 UTC +00:00]]
|
1945
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1946
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1947
|
+
Parameters: {"nonce"=>"abcd"}
|
1948
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:54:58.304897') LIMIT 1[0m
|
1949
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1950
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
1951
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1952
|
+
Redirected to http://test.host/
|
1953
|
+
Completed 302 Found in 32ms (ActiveRecord: 0.5ms)
|
1954
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "lti_provider_launches" [0m
|
1955
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1956
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1957
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1958
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 21:59:58 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 21:59:58 UTC +00:00]]
|
1959
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1960
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1961
|
+
Parameters: {"nonce"=>"abcd"}
|
1962
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:54:58.345721') LIMIT 1[0m
|
1963
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1964
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
1965
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1966
|
+
Redirected to http://test.host/
|
1967
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
1968
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
1969
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1970
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1971
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 21:59:58 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 21:59:58 UTC +00:00]]
|
1972
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1973
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1974
|
+
Parameters: {"nonce"=>"invalid"}
|
1975
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-17 21:54:58.358552') LIMIT 1
|
1976
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
1977
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1978
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1979
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1980
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 21:59:58 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 21:59:58 UTC +00:00]]
|
1981
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1982
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1983
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "lti_provider_launches" SET "created_at" = '2013-10-17 21:49:58.372455', "updated_at" = '2013-10-17 21:59:58.373061', "provider_params" = '---
|
1984
|
+
custom_canvas_course_id: 1
|
1985
|
+
custom_canvas_user_id: 2
|
1986
|
+
tool_consumer_instance_guid: 123abc
|
1987
|
+
' WHERE "lti_provider_launches"."id" = 1[0m
|
1988
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1989
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
1990
|
+
Parameters: {"nonce"=>"abcd"}
|
1991
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:54:58.376507') LIMIT 1[0m
|
1992
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1993
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1994
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1995
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
1996
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047198", "oauth_nonce"=>"QEdKdyYQjnvS5yXr2gLhZhnliwjUvRjkGcnwOAcGZc", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"TdB4gRGnPvTwMGH5K9laXSF/J3Q="}
|
1997
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1998
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 21:59:58 UTC +00:00], ["nonce", "QEdKdyYQjnvS5yXr2gLhZhnliwjUvRjkGcnwOAcGZc"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: QEdKdyYQjnvS5yXr2gLhZhnliwjUvRjkGcnwOAcGZc\noauth_signature: TdB4gRGnPvTwMGH5K9laXSF/J3Q=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047198'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 21:59:58 UTC +00:00]]
|
1999
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2000
|
+
Redirected to http://test.host/cookie_test?nonce=QEdKdyYQjnvS5yXr2gLhZhnliwjUvRjkGcnwOAcGZc
|
2001
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
2002
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1[0m
|
2003
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2004
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2005
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2006
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047198", "oauth_nonce"=>"p3hHpqpw9ZjlEtdXKG2CUMZb9GUCY7qy7HB7cQVjzE", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"UWaaFoohF5J9yL0fTinat3lVnjQ="}
|
2007
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2008
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 21:59:58 UTC +00:00], ["nonce", "p3hHpqpw9ZjlEtdXKG2CUMZb9GUCY7qy7HB7cQVjzE"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: p3hHpqpw9ZjlEtdXKG2CUMZb9GUCY7qy7HB7cQVjzE\noauth_signature: UWaaFoohF5J9yL0fTinat3lVnjQ=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047198'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 21:59:58 UTC +00:00]]
|
2009
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2010
|
+
Redirected to http://test.host/cookie_test?nonce=p3hHpqpw9ZjlEtdXKG2CUMZb9GUCY7qy7HB7cQVjzE
|
2011
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
|
2012
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2013
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2014
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2015
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047198", "oauth_nonce"=>"ikb7ECFh0mHD3p21x6k1QmshQsm2NhHbNsbCf0jB0g", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"LrTPfxpOEIEAN/tEN9FX9ItgViQ="}
|
2016
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2017
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2018
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2019
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2020
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047198", "oauth_nonce"=>"GKPWHqMLxE4TOwcba2QY7TKzFBeZFaiZprc2R1NA", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"hcD1kBR+KJgTZ97MQbPQRdRKsqA="}
|
2021
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2022
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2023
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
2024
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
2025
|
+
Connecting to database specified by database.yml
|
2026
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2027
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2028
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2029
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2030
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2031
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2032
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2033
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2034
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2035
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2036
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2037
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2038
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2039
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2040
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2041
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2042
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2043
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2044
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2045
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2046
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2047
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2048
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2049
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2050
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2051
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2052
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2053
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2054
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2055
|
+
Processing by LtiProvider::LtiController#configure as XML
|
2056
|
+
Completed 500 Internal Server Error in 1ms
|
2057
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2058
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2059
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2060
|
+
[1m[36mSQL (4.2ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:00:38 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:00:38 UTC +00:00]]
|
2061
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2062
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2063
|
+
Parameters: {"nonce"=>"invalid"}
|
2064
|
+
[1m[36mLtiProvider::Launch Load (0.2ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-17 21:55:38.033237') LIMIT 1[0m
|
2065
|
+
Completed 200 OK in 12ms (Views: 8.5ms | ActiveRecord: 0.2ms)
|
2066
|
+
[1m[35m (1.3ms)[0m rollback transaction
|
2067
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2068
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2069
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:00:38 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:00:38 UTC +00:00]]
|
2070
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2071
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2072
|
+
[1m[35m (0.3ms)[0m UPDATE "lti_provider_launches" SET "created_at" = '2013-10-17 21:50:38.055650', "updated_at" = '2013-10-17 22:00:38.056169', "provider_params" = '---
|
2073
|
+
custom_canvas_course_id: 1
|
2074
|
+
custom_canvas_user_id: 2
|
2075
|
+
tool_consumer_instance_guid: 123abc
|
2076
|
+
' WHERE "lti_provider_launches"."id" = 1
|
2077
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2078
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2079
|
+
Parameters: {"nonce"=>"abcd"}
|
2080
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:55:38.060137') LIMIT 1
|
2081
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
2082
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2083
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2084
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2085
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:00:38 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:00:38 UTC +00:00]]
|
2086
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2087
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2088
|
+
Parameters: {"nonce"=>"abcd"}
|
2089
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:55:38.069658') LIMIT 1
|
2090
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2091
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
2092
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2093
|
+
Redirected to http://test.host/
|
2094
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.4ms)
|
2095
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "lti_provider_launches"
|
2096
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
2097
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2098
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2099
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:00:38 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:00:38 UTC +00:00]]
|
2100
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2101
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2102
|
+
Parameters: {"nonce"=>"abcd"}
|
2103
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:55:38.087202') LIMIT 1
|
2104
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2105
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
2106
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2107
|
+
Redirected to http://test.host/
|
2108
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
2109
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2110
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2111
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2112
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047238", "oauth_nonce"=>"zKTJJ2q0AWJlSugNVVHiSak0awXGt1mRqwwZHpZfE", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"YMcPT3xb//E6/E5S1hGEQdkWNEQ="}
|
2113
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2114
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2115
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2116
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2117
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047238", "oauth_nonce"=>"DR77x2d8S4yWsPxoQFsNToqPYdZ0n57e8IZeFj0N7bc", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"K9evPbOG7YBn2CXM3K59YuQn+bg="}
|
2118
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2119
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2120
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2121
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2122
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047238", "oauth_nonce"=>"A27Z7hlwNlA0ZXM7qFM8t3RCJgEzW5gnU1KTCLZam0", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"QlLkDma/lH0mdWo6wN7vtd/8C50="}
|
2123
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2124
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:00:38 UTC +00:00], ["nonce", "A27Z7hlwNlA0ZXM7qFM8t3RCJgEzW5gnU1KTCLZam0"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: A27Z7hlwNlA0ZXM7qFM8t3RCJgEzW5gnU1KTCLZam0\noauth_signature: QlLkDma/lH0mdWo6wN7vtd/8C50=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047238'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:00:38 UTC +00:00]]
|
2125
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2126
|
+
Redirected to http://test.host/cookie_test?nonce=A27Z7hlwNlA0ZXM7qFM8t3RCJgEzW5gnU1KTCLZam0
|
2127
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
|
2128
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1[0m
|
2129
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
2130
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2131
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2132
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047238", "oauth_nonce"=>"hls3rx0HEo07lgyPWsmFs50TFgaFuxmhtSccmAGa8", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"V8czkHSqvlHymRZmkhbaTht8XA0="}
|
2133
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2134
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:00:38 UTC +00:00], ["nonce", "hls3rx0HEo07lgyPWsmFs50TFgaFuxmhtSccmAGa8"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: hls3rx0HEo07lgyPWsmFs50TFgaFuxmhtSccmAGa8\noauth_signature: V8czkHSqvlHymRZmkhbaTht8XA0=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047238'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:00:38 UTC +00:00]]
|
2135
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2136
|
+
Redirected to http://test.host/cookie_test?nonce=hls3rx0HEo07lgyPWsmFs50TFgaFuxmhtSccmAGa8
|
2137
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
2138
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2139
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2140
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
2141
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
2142
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2143
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2144
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
2145
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
2146
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2147
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
2148
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
2149
|
+
Connecting to database specified by database.yml
|
2150
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2151
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
2152
|
+
Rendered /Users/simonista/Instructure/lti_provider_engine/app/views/lti_provider/lti/cookie_test.html.erb within layouts/lti_provider/application (0.2ms)
|
2153
|
+
Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)
|
2154
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2155
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2156
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
2157
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
2158
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2159
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2160
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2161
|
+
[1m[36mSQL (4.0ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:01:56 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:01:56 UTC +00:00]]
|
2162
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2163
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2164
|
+
Parameters: {"nonce"=>"invalid"}
|
2165
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-17 21:56:56.741865') LIMIT 1[0m
|
2166
|
+
Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
2167
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
2168
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2169
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2170
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:01:56 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:01:56 UTC +00:00]]
|
2171
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2172
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2173
|
+
[1m[35m (0.2ms)[0m UPDATE "lti_provider_launches" SET "created_at" = '2013-10-17 21:51:56.754732', "updated_at" = '2013-10-17 22:01:56.755171', "provider_params" = '---
|
2174
|
+
custom_canvas_course_id: 1
|
2175
|
+
custom_canvas_user_id: 2
|
2176
|
+
tool_consumer_instance_guid: 123abc
|
2177
|
+
' WHERE "lti_provider_launches"."id" = 1
|
2178
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2179
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2180
|
+
Parameters: {"nonce"=>"abcd"}
|
2181
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:56:56.758429') LIMIT 1
|
2182
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
2183
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2184
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2185
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2186
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:01:56 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:01:56 UTC +00:00]]
|
2187
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2188
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2189
|
+
Parameters: {"nonce"=>"abcd"}
|
2190
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:56:56.767909') LIMIT 1
|
2191
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2192
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
2193
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2194
|
+
Redirected to http://test.host/
|
2195
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
2196
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
2197
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2198
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2199
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:01:56 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:01:56 UTC +00:00]]
|
2200
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2201
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2202
|
+
Parameters: {"nonce"=>"abcd"}
|
2203
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:56:56.788882') LIMIT 1[0m
|
2204
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2205
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
2206
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2207
|
+
Redirected to http://test.host/
|
2208
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
2209
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "lti_provider_launches" [0m
|
2210
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2211
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2212
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2213
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047316", "oauth_nonce"=>"2xPjKpQjeUDZoelb2kwO2DSYkqsxUk0BfptVCUgdCY", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"AfLj2l7PsOHEyAmm6/HIRIyyiUA="}
|
2214
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2215
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2216
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2217
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2218
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047316", "oauth_nonce"=>"Cwm5yrwS8zINItZyGBL9yEGYrvsi6AOKHX1fT80h7w", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"ZZfcJWBMI/5rAFofv3vDFu1Bx3I="}
|
2219
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2220
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2221
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2222
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2223
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047316", "oauth_nonce"=>"2XnxXnMWAJUI2Q47ryWcDVVR2MGwVdW8Gmjwh4uj7U", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"1w3EJDkr0Az0mO1yVrO97NrT9gk="}
|
2224
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2225
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:01:56 UTC +00:00], ["nonce", "2XnxXnMWAJUI2Q47ryWcDVVR2MGwVdW8Gmjwh4uj7U"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: 2XnxXnMWAJUI2Q47ryWcDVVR2MGwVdW8Gmjwh4uj7U\noauth_signature: 1w3EJDkr0Az0mO1yVrO97NrT9gk=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047316'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:01:56 UTC +00:00]]
|
2226
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2227
|
+
Redirected to http://test.host/cookie_test?nonce=2XnxXnMWAJUI2Q47ryWcDVVR2MGwVdW8Gmjwh4uj7U
|
2228
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
2229
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
2230
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2231
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2232
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047316", "oauth_nonce"=>"36cvnMWoVAdQgb68XAZkr7JforSp9TOM1y2h59cJU", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"ozz/UbQhiRz0Kt9Tb4dYXq4IK2c="}
|
2233
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2234
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:01:56 UTC +00:00], ["nonce", "36cvnMWoVAdQgb68XAZkr7JforSp9TOM1y2h59cJU"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: 36cvnMWoVAdQgb68XAZkr7JforSp9TOM1y2h59cJU\noauth_signature: ozz/UbQhiRz0Kt9Tb4dYXq4IK2c=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047316'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:01:56 UTC +00:00]]
|
2235
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2236
|
+
Redirected to http://test.host/cookie_test?nonce=36cvnMWoVAdQgb68XAZkr7JforSp9TOM1y2h59cJU
|
2237
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
|
2238
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
2239
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
2240
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2241
|
+
Processing by LtiProvider::LtiController#configure as XML
|
2242
|
+
Completed 500 Internal Server Error in 1ms
|
2243
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2244
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2245
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2246
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2247
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2248
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2249
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2250
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2251
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2252
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2253
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2254
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2255
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2256
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2257
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2258
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2259
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2260
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2261
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2262
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2263
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2264
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2265
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2266
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2267
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2268
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2269
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2270
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2271
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2272
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
2273
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
2274
|
+
Connecting to database specified by database.yml
|
2275
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2276
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2277
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2278
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2279
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2280
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2281
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2282
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2283
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2284
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2285
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2286
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2287
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2288
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2289
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2290
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2291
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2292
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2293
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2294
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2295
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2296
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2297
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2298
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2299
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2300
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2301
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2302
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2303
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2304
|
+
Processing by LtiProvider::LtiController#configure as XML
|
2305
|
+
Completed 500 Internal Server Error in 1ms
|
2306
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2307
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2308
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2309
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047374", "oauth_nonce"=>"Ho6l8oO1FwqeKgrgdx6E0BuxzV7YYq6tsKkqWcj3sl8", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"tOo0iONEL20U7NXyUYbCuwPWcfE="}
|
2310
|
+
Completed 200 OK in 33ms (Views: 8.7ms | ActiveRecord: 0.0ms)
|
2311
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2312
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2313
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2314
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047374", "oauth_nonce"=>"qAAXiYuLb0zzVrRIAUvul09XPo8ThFywfF4vKOI", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"fR1Ox/THyE4IaV3Yg0wTO+v66HI="}
|
2315
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2316
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2317
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2318
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2319
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047374", "oauth_nonce"=>"EoFSL7714kkkF0xS8crxnkMnqqlBh549tYovBtzK5k", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"QWlx0uGjH9yfpL48X9fBPenZQJo="}
|
2320
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2321
|
+
[1m[36mSQL (3.9ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:02:54 UTC +00:00], ["nonce", "EoFSL7714kkkF0xS8crxnkMnqqlBh549tYovBtzK5k"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: EoFSL7714kkkF0xS8crxnkMnqqlBh549tYovBtzK5k\noauth_signature: QWlx0uGjH9yfpL48X9fBPenZQJo=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047374'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:02:54 UTC +00:00]]
|
2322
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2323
|
+
Redirected to http://test.host/cookie_test?nonce=EoFSL7714kkkF0xS8crxnkMnqqlBh549tYovBtzK5k
|
2324
|
+
Completed 302 Found in 10ms (ActiveRecord: 4.0ms)
|
2325
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1[0m
|
2326
|
+
[1m[35m (1.5ms)[0m rollback transaction
|
2327
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2328
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2329
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047374", "oauth_nonce"=>"hLXsKP7HiYBcJrx6YSQD5CXVAvINbMrTkSyUqO1K4", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"S4vWqhydQrNcDR9hVptrkQmokhE="}
|
2330
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2331
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:02:54 UTC +00:00], ["nonce", "hLXsKP7HiYBcJrx6YSQD5CXVAvINbMrTkSyUqO1K4"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: hLXsKP7HiYBcJrx6YSQD5CXVAvINbMrTkSyUqO1K4\noauth_signature: S4vWqhydQrNcDR9hVptrkQmokhE=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047374'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:02:54 UTC +00:00]]
|
2332
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2333
|
+
Redirected to http://test.host/cookie_test?nonce=hLXsKP7HiYBcJrx6YSQD5CXVAvINbMrTkSyUqO1K4
|
2334
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
2335
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2336
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2337
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2338
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:02:54 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:02:54 UTC +00:00]]
|
2339
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2340
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2341
|
+
Parameters: {"nonce"=>"invalid"}
|
2342
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-17 21:57:54.747783') LIMIT 1
|
2343
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2344
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
2345
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2346
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2347
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:02:54 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:02:54 UTC +00:00]]
|
2348
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2349
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2350
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "lti_provider_launches" SET "created_at" = '2013-10-17 21:52:54.759251', "updated_at" = '2013-10-17 22:02:54.759755', "provider_params" = '---
|
2351
|
+
custom_canvas_course_id: 1
|
2352
|
+
custom_canvas_user_id: 2
|
2353
|
+
tool_consumer_instance_guid: 123abc
|
2354
|
+
' WHERE "lti_provider_launches"."id" = 1[0m
|
2355
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2356
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2357
|
+
Parameters: {"nonce"=>"abcd"}
|
2358
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:57:54.785673') LIMIT 1[0m
|
2359
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2360
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2361
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2362
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2363
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:02:54 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:02:54 UTC +00:00]]
|
2364
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2365
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2366
|
+
Parameters: {"nonce"=>"abcd"}
|
2367
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:57:54.796054') LIMIT 1[0m
|
2368
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2369
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
2370
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2371
|
+
Redirected to http://test.host/
|
2372
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
2373
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "lti_provider_launches" [0m
|
2374
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
2375
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2376
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2377
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:02:54 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:02:54 UTC +00:00]]
|
2378
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2379
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2380
|
+
Parameters: {"nonce"=>"abcd"}
|
2381
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 21:57:54.811199') LIMIT 1[0m
|
2382
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2383
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
2384
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2385
|
+
Redirected to http://test.host/
|
2386
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
2387
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
2388
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2389
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
2390
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
2391
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2392
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2393
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
2394
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
2395
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2396
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
2397
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
2398
|
+
Connecting to database specified by database.yml
|
2399
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2400
|
+
Processing by LtiProvider::LtiController#configure as XML
|
2401
|
+
Completed 200 OK in 104184ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2402
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2403
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2404
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
2405
|
+
Completed 200 OK in 11ms (Views: 10.8ms | ActiveRecord: 0.0ms)
|
2406
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2407
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2408
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
2409
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2410
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2411
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2412
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2413
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047559", "oauth_nonce"=>"ctQQtcXpzIkEh7JGxFx30hqsvfzP2hUVNzTnfLmiU", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"VZ38trF5Icy06ZjRX3/tHsmCyqo="}
|
2414
|
+
Completed 200 OK in 12ms (Views: 1.7ms | ActiveRecord: 1.5ms)
|
2415
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2416
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2417
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2418
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047559", "oauth_nonce"=>"V59fjXNwaEw1nnhMWuVEj9hMZm4kgLhBvtiFhzJzY", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"d6voQk6nZ5BCk9cAsWpFKnFi688="}
|
2419
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2420
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2421
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2422
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2423
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047559", "oauth_nonce"=>"xcZyPWaqZgZVblr4gSgFkdchXWPncQxXmlh3DI4wMM", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"F2spbecYFQJV7RTNvqDpxTCoSKg="}
|
2424
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2425
|
+
[1m[36mSQL (4.7ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:05:59 UTC +00:00], ["nonce", "xcZyPWaqZgZVblr4gSgFkdchXWPncQxXmlh3DI4wMM"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: xcZyPWaqZgZVblr4gSgFkdchXWPncQxXmlh3DI4wMM\noauth_signature: F2spbecYFQJV7RTNvqDpxTCoSKg=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047559'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:05:59 UTC +00:00]]
|
2426
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2427
|
+
Redirected to http://test.host/cookie_test?nonce=xcZyPWaqZgZVblr4gSgFkdchXWPncQxXmlh3DI4wMM
|
2428
|
+
Completed 302 Found in 15ms (ActiveRecord: 4.8ms)
|
2429
|
+
[1m[36m (1.4ms)[0m [1mrollback transaction[0m
|
2430
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2431
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2432
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047559", "oauth_nonce"=>"BT9Zq03MnzBO0Css5wF7ScpPzQzJOVsyTSVpIYHNWTA", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"2VuhVAl8vf0DDzV9MKba4BniVuY="}
|
2433
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2434
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:05:59 UTC +00:00], ["nonce", "BT9Zq03MnzBO0Css5wF7ScpPzQzJOVsyTSVpIYHNWTA"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: BT9Zq03MnzBO0Css5wF7ScpPzQzJOVsyTSVpIYHNWTA\noauth_signature: 2VuhVAl8vf0DDzV9MKba4BniVuY=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047559'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:05:59 UTC +00:00]]
|
2435
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2436
|
+
Redirected to http://test.host/cookie_test?nonce=BT9Zq03MnzBO0Css5wF7ScpPzQzJOVsyTSVpIYHNWTA
|
2437
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.6ms)
|
2438
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
2439
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
2440
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2441
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2442
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:05:59 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:05:59 UTC +00:00]]
|
2443
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2444
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2445
|
+
Parameters: {"nonce"=>"invalid"}
|
2446
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-17 22:00:59.950376') LIMIT 1
|
2447
|
+
Completed 200 OK in 38ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
2448
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
2449
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2450
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2451
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:05:59 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:05:59 UTC +00:00]]
|
2452
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2453
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2454
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "lti_provider_launches" SET "created_at" = '2013-10-17 21:55:59.998389', "updated_at" = '2013-10-17 22:05:59.999098', "provider_params" = '---
|
2455
|
+
custom_canvas_course_id: 1
|
2456
|
+
custom_canvas_user_id: 2
|
2457
|
+
tool_consumer_instance_guid: 123abc
|
2458
|
+
' WHERE "lti_provider_launches"."id" = 1[0m
|
2459
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2460
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2461
|
+
Parameters: {"nonce"=>"abcd"}
|
2462
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:01:00.004259') LIMIT 1[0m
|
2463
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
2464
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
2465
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2466
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2467
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:06:00 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:06:00 UTC +00:00]]
|
2468
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2469
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2470
|
+
Parameters: {"nonce"=>"abcd"}
|
2471
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:01:00.017966') LIMIT 1[0m
|
2472
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2473
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
2474
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2475
|
+
Redirected to http://test.host/
|
2476
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
|
2477
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
2478
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2479
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2480
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:06:00 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:06:00 UTC +00:00]]
|
2481
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2482
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2483
|
+
Parameters: {"nonce"=>"abcd"}
|
2484
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:01:00.042106') LIMIT 1
|
2485
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2486
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
2487
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2488
|
+
Redirected to http://test.host/
|
2489
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
|
2490
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "lti_provider_launches"
|
2491
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
2492
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2493
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2494
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2495
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2496
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2497
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2498
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2499
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2500
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2501
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2502
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2503
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2504
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2505
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2506
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2507
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2508
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2509
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2510
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2511
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2512
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2513
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2514
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2515
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2516
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2517
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2518
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2519
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2520
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
2521
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
2522
|
+
Connecting to database specified by database.yml
|
2523
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2524
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2525
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2526
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2527
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2528
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2529
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2530
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2531
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2532
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2533
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2534
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2535
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2536
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2537
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2538
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2539
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2540
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2541
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2542
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2543
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2544
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2545
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2546
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2547
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2548
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2549
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2550
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2551
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2552
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
2553
|
+
Rendered /Users/simonista/Instructure/lti_provider_engine/app/views/lti_provider/lti/cookie_test.html.erb within layouts/lti_provider/application (0.2ms)
|
2554
|
+
Completed 200 OK in 35ms (Views: 35.2ms | ActiveRecord: 0.0ms)
|
2555
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2556
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2557
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
2558
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
2559
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2560
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2561
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2562
|
+
[1m[36mSQL (4.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:06:14 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:06:14 UTC +00:00]]
|
2563
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2564
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2565
|
+
Parameters: {"nonce"=>"abcd"}
|
2566
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:01:14.840183') LIMIT 1[0m
|
2567
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2568
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
2569
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2570
|
+
Redirected to http://test.host/
|
2571
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.5ms)
|
2572
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "lti_provider_launches" [0m
|
2573
|
+
[1m[35m (1.3ms)[0m rollback transaction
|
2574
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2575
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2576
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:06:14 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:06:14 UTC +00:00]]
|
2577
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2578
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2579
|
+
Parameters: {"nonce"=>"abcd"}
|
2580
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:01:14.860344') LIMIT 1[0m
|
2581
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2582
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
2583
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2584
|
+
Redirected to http://test.host/
|
2585
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
2586
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2587
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2588
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2589
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:06:14 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:06:14 UTC +00:00]]
|
2590
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2591
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2592
|
+
Parameters: {"nonce"=>"invalid"}
|
2593
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-17 22:01:14.873418') LIMIT 1
|
2594
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
2595
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2596
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2597
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2598
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:06:14 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:06:14 UTC +00:00]]
|
2599
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2600
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2601
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "lti_provider_launches" SET "created_at" = '2013-10-17 21:56:14.883841', "updated_at" = '2013-10-17 22:06:14.884282', "provider_params" = '---
|
2602
|
+
custom_canvas_course_id: 1
|
2603
|
+
custom_canvas_user_id: 2
|
2604
|
+
tool_consumer_instance_guid: 123abc
|
2605
|
+
' WHERE "lti_provider_launches"."id" = 1[0m
|
2606
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2607
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2608
|
+
Parameters: {"nonce"=>"abcd"}
|
2609
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:01:14.887034') LIMIT 1[0m
|
2610
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
2611
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
2612
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2613
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2614
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047574", "oauth_nonce"=>"lK3j1AiOhlUsbeLIPR8d38ZXsaQrhmTX5SooC27B0", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"I9ea1ihoXmw4ANQb2YKhY4tG7MQ="}
|
2615
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2616
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:06:14 UTC +00:00], ["nonce", "lK3j1AiOhlUsbeLIPR8d38ZXsaQrhmTX5SooC27B0"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: lK3j1AiOhlUsbeLIPR8d38ZXsaQrhmTX5SooC27B0\noauth_signature: I9ea1ihoXmw4ANQb2YKhY4tG7MQ=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047574'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:06:14 UTC +00:00]]
|
2617
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2618
|
+
Redirected to http://test.host/cookie_test?nonce=lK3j1AiOhlUsbeLIPR8d38ZXsaQrhmTX5SooC27B0
|
2619
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
2620
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1[0m
|
2621
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
2622
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2623
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2624
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047574", "oauth_nonce"=>"9JMYz3KjzkDUYBIvJ89TcNEK4MkOosTuecNucPkSZzA", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"nfp9Aoc2f+Yhk/eHVQrwGV+jDU0="}
|
2625
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2626
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:06:14 UTC +00:00], ["nonce", "9JMYz3KjzkDUYBIvJ89TcNEK4MkOosTuecNucPkSZzA"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: 9JMYz3KjzkDUYBIvJ89TcNEK4MkOosTuecNucPkSZzA\noauth_signature: nfp9Aoc2f+Yhk/eHVQrwGV+jDU0=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047574'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:06:14 UTC +00:00]]
|
2627
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2628
|
+
Redirected to http://test.host/cookie_test?nonce=9JMYz3KjzkDUYBIvJ89TcNEK4MkOosTuecNucPkSZzA
|
2629
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
|
2630
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
2631
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2632
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2633
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047574", "oauth_nonce"=>"crc0X7wLq1tZG8rsYHiZUyFexVsRzmSN6kRzALbZBg", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"rML3/k94l/Rj0VkZNdl++o+I2D0="}
|
2634
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2635
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2636
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2637
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2638
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047574", "oauth_nonce"=>"EJE7ruVkXPpEuJChVYNKgaF6n7QAZ0c9oU0MYeF21Ds", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"0ADnW7NVXwoSOVoDV1dE/8gLN8Q="}
|
2639
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2640
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2641
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2642
|
+
Processing by LtiProvider::LtiController#configure as XML
|
2643
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
2644
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2645
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
2646
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
2647
|
+
Connecting to database specified by database.yml
|
2648
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2649
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2650
|
+
[1m[36mSQL (4.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:06:22 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:06:22 UTC +00:00]]
|
2651
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2652
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2653
|
+
Parameters: {"nonce"=>"abcd"}
|
2654
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:01:22.931388') LIMIT 1[0m
|
2655
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2656
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
2657
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2658
|
+
Redirected to http://test.host/
|
2659
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.5ms)
|
2660
|
+
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
2661
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2662
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2663
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:06:22 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:06:22 UTC +00:00]]
|
2664
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2665
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2666
|
+
Parameters: {"nonce"=>"abcd"}
|
2667
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:01:22.955182') LIMIT 1
|
2668
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2669
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
2670
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2671
|
+
Redirected to http://test.host/
|
2672
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
2673
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "lti_provider_launches"
|
2674
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2675
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2676
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2677
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:06:22 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:06:22 UTC +00:00]]
|
2678
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2679
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2680
|
+
Parameters: {"nonce"=>"invalid"}
|
2681
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-17 22:01:22.989982') LIMIT 1
|
2682
|
+
Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.1ms)
|
2683
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2684
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2685
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2686
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:06:23 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:06:23 UTC +00:00]]
|
2687
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2688
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2689
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "lti_provider_launches" SET "created_at" = '2013-10-17 21:56:23.007036', "updated_at" = '2013-10-17 22:06:23.007476', "provider_params" = '---
|
2690
|
+
custom_canvas_course_id: 1
|
2691
|
+
custom_canvas_user_id: 2
|
2692
|
+
tool_consumer_instance_guid: 123abc
|
2693
|
+
' WHERE "lti_provider_launches"."id" = 1[0m
|
2694
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2695
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2696
|
+
Parameters: {"nonce"=>"abcd"}
|
2697
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:01:23.010081') LIMIT 1[0m
|
2698
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2699
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
2700
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2701
|
+
Processing by LtiProvider::LtiController#configure as XML
|
2702
|
+
Completed 500 Internal Server Error in 1ms
|
2703
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2704
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2705
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2706
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047583", "oauth_nonce"=>"reojPj57dDrQe5cbRVVyAkbi0SHxDbPFtdA52shnc", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"V2+1Z6wfGioRjwV7NEtmyXhHhho="}
|
2707
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2708
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:06:23 UTC +00:00], ["nonce", "reojPj57dDrQe5cbRVVyAkbi0SHxDbPFtdA52shnc"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: reojPj57dDrQe5cbRVVyAkbi0SHxDbPFtdA52shnc\noauth_signature: V2+1Z6wfGioRjwV7NEtmyXhHhho=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047583'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:06:23 UTC +00:00]]
|
2709
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2710
|
+
Redirected to http://test.host/cookie_test?nonce=reojPj57dDrQe5cbRVVyAkbi0SHxDbPFtdA52shnc
|
2711
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
|
2712
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
2713
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2714
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2715
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047583", "oauth_nonce"=>"yIasKjPi9YAWcyc728BInuiWmiClURIIrniTh3ak", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"duJOrCXfzlyv7VXcWtMXpL03RXI="}
|
2716
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2717
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:06:23 UTC +00:00], ["nonce", "yIasKjPi9YAWcyc728BInuiWmiClURIIrniTh3ak"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: yIasKjPi9YAWcyc728BInuiWmiClURIIrniTh3ak\noauth_signature: duJOrCXfzlyv7VXcWtMXpL03RXI=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047583'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:06:23 UTC +00:00]]
|
2718
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2719
|
+
Redirected to http://test.host/cookie_test?nonce=yIasKjPi9YAWcyc728BInuiWmiClURIIrniTh3ak
|
2720
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
2721
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
2722
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2723
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2724
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2725
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047583", "oauth_nonce"=>"Qd36dImSK0N6EM7G8UbhXQmutk0VQTfT5Ov0DV8t6o", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"MgILanEE5w09sABN/7WItfu5AZE="}
|
2726
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2727
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2728
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2729
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2730
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047583", "oauth_nonce"=>"ORXDMGVHd4xT02NsuLNzYKavYvVPdutvOS9Xl1QmelI", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"WhV2YHw0WpKiN3daQKFruHY/n+k="}
|
2731
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2732
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2733
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2734
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
2735
|
+
Completed 200 OK in 24ms (Views: 24.0ms | ActiveRecord: 0.0ms)
|
2736
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2737
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2738
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
2739
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
2740
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2741
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2742
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2743
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2744
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2745
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2746
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2747
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2748
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2749
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2750
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2751
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2752
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2753
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2754
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2755
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2756
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2757
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2758
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2759
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2760
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2761
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2762
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2763
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2764
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2765
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2766
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2767
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2768
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2769
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
2770
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
2771
|
+
Connecting to database specified by database.yml
|
2772
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2773
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2774
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047591", "oauth_nonce"=>"Z7p553ABajvSSHF1zV33gybYEoMJnSjVdBSMYAp4", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"6quHaU/hsWLIOhmVU4osuA36CwU="}
|
2775
|
+
Rendered text template (0.0ms)
|
2776
|
+
Completed 200 OK in 18ms (Views: 9.5ms | ActiveRecord: 1.4ms)
|
2777
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2778
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2779
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2780
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047591", "oauth_nonce"=>"QUuRPGTnbBZB3h3i8Q8jUoZGeBGuS2lAHVshTI4LLM", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"GtdjrDGa/3fDd5YLCYa/eZGRLCA="}
|
2781
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2782
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2783
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2784
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2785
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047591", "oauth_nonce"=>"xyWC1TCYzkaKTY0Ox4hsMSyu5iGwxDT3KsAzRusv1o", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"n9Os07FOK3w5dprmZN92G7a/gBk="}
|
2786
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2787
|
+
[1m[36mSQL (4.3ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:06:31 UTC +00:00], ["nonce", "xyWC1TCYzkaKTY0Ox4hsMSyu5iGwxDT3KsAzRusv1o"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: xyWC1TCYzkaKTY0Ox4hsMSyu5iGwxDT3KsAzRusv1o\noauth_signature: n9Os07FOK3w5dprmZN92G7a/gBk=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047591'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:06:31 UTC +00:00]]
|
2788
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2789
|
+
Redirected to http://test.host/cookie_test?nonce=xyWC1TCYzkaKTY0Ox4hsMSyu5iGwxDT3KsAzRusv1o
|
2790
|
+
Completed 302 Found in 11ms (ActiveRecord: 4.4ms)
|
2791
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
2792
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2793
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2794
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047591", "oauth_nonce"=>"uf5I045qyh4arLh4qEHk0ntA2NlB7VziVWYBvXqiDI", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"0rzNv9OvJOlvRoqzfUFsBd3rJ4k="}
|
2795
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2796
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:06:31 UTC +00:00], ["nonce", "uf5I045qyh4arLh4qEHk0ntA2NlB7VziVWYBvXqiDI"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: uf5I045qyh4arLh4qEHk0ntA2NlB7VziVWYBvXqiDI\noauth_signature: 0rzNv9OvJOlvRoqzfUFsBd3rJ4k=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047591'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:06:31 UTC +00:00]]
|
2797
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2798
|
+
Redirected to http://test.host/cookie_test?nonce=uf5I045qyh4arLh4qEHk0ntA2NlB7VziVWYBvXqiDI
|
2799
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
|
2800
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
2801
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2802
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2803
|
+
Processing by LtiProvider::LtiController#configure as XML
|
2804
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
2805
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2806
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2807
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2808
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:06:31 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:06:31 UTC +00:00]]
|
2809
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2810
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2811
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "lti_provider_launches" SET "created_at" = '2013-10-17 21:56:31.443240', "updated_at" = '2013-10-17 22:06:31.443806', "provider_params" = '---
|
2812
|
+
custom_canvas_course_id: 1
|
2813
|
+
custom_canvas_user_id: 2
|
2814
|
+
tool_consumer_instance_guid: 123abc
|
2815
|
+
' WHERE "lti_provider_launches"."id" = 1[0m
|
2816
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2817
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2818
|
+
Parameters: {"nonce"=>"abcd"}
|
2819
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:01:31.447409') LIMIT 1[0m
|
2820
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2821
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2822
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2823
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2824
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:06:31 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:06:31 UTC +00:00]]
|
2825
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2826
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2827
|
+
Parameters: {"nonce"=>"invalid"}
|
2828
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-17 22:01:31.459043') LIMIT 1[0m
|
2829
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
2830
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
2831
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2832
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2833
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:06:31 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:06:31 UTC +00:00]]
|
2834
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2835
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2836
|
+
Parameters: {"nonce"=>"abcd"}
|
2837
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:01:31.468692') LIMIT 1[0m
|
2838
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2839
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
2840
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2841
|
+
Redirected to http://test.host/
|
2842
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
2843
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2844
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2845
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2846
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:06:31 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:06:31 UTC +00:00]]
|
2847
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2848
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2849
|
+
Parameters: {"nonce"=>"abcd"}
|
2850
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:01:31.484156') LIMIT 1
|
2851
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2852
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
2853
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2854
|
+
Redirected to http://test.host/
|
2855
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
2856
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "lti_provider_launches"
|
2857
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2858
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2859
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
2860
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
2861
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2862
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2863
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
2864
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
2865
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2866
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2867
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2868
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2869
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2870
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2871
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2872
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2873
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2874
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2875
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2876
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2877
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2878
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2879
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2880
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2881
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2882
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2883
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2884
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2885
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2886
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2887
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2888
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2889
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2890
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2891
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2892
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2893
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2894
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
2895
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
2896
|
+
Connecting to database specified by database.yml
|
2897
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2898
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
2899
|
+
Rendered /Users/simonista/Instructure/lti_provider_engine/app/views/lti_provider/lti/cookie_test.html.erb within layouts/lti_provider/application (0.2ms)
|
2900
|
+
Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)
|
2901
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2902
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2903
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
2904
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
2905
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2906
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2907
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2908
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047788", "oauth_nonce"=>"CX3vzOMhP4PXDQV25SVlsra6nTIo9ipYIfDnM66tKHk", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"fQbKOvD7Rh8zABp4YdObqDEEB7Q="}
|
2909
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2910
|
+
[1m[36mSQL (24.6ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:09:48 UTC +00:00], ["nonce", "CX3vzOMhP4PXDQV25SVlsra6nTIo9ipYIfDnM66tKHk"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: CX3vzOMhP4PXDQV25SVlsra6nTIo9ipYIfDnM66tKHk\noauth_signature: fQbKOvD7Rh8zABp4YdObqDEEB7Q=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047788'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:09:48 UTC +00:00]]
|
2911
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2912
|
+
Redirected to http://test.host/cookie_test?nonce=CX3vzOMhP4PXDQV25SVlsra6nTIo9ipYIfDnM66tKHk
|
2913
|
+
Completed 302 Found in 39ms (ActiveRecord: 26.0ms)
|
2914
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
2915
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2916
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2917
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047788", "oauth_nonce"=>"f3oA5TvioikO11WfmSnKH5lvb9IQ9WFgLoDAvSc", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"g75UPtZlr+W2bl971BzV01BHOEs="}
|
2918
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2919
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:09:48 UTC +00:00], ["nonce", "f3oA5TvioikO11WfmSnKH5lvb9IQ9WFgLoDAvSc"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: f3oA5TvioikO11WfmSnKH5lvb9IQ9WFgLoDAvSc\noauth_signature: g75UPtZlr+W2bl971BzV01BHOEs=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382047788'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:09:48 UTC +00:00]]
|
2920
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2921
|
+
Redirected to http://test.host/cookie_test?nonce=f3oA5TvioikO11WfmSnKH5lvb9IQ9WFgLoDAvSc
|
2922
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
2923
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
2924
|
+
[1m[36m (1.6ms)[0m [1mrollback transaction[0m
|
2925
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2926
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2927
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047788", "oauth_nonce"=>"Hglfto0A51BkeiYPS5YSFByniGP9PHVHQar8CU98D8", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"5r+DFBTBUVbwPT5vr2HgvgVl/a4="}
|
2928
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
2929
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2930
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2931
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
2932
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382047788", "oauth_nonce"=>"CmEn0kFbvqYdQWzqgfMknaUfOojzQ5RaZnHXSnHRrRE", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"ws503nf66UuzNQjVrDWJTEz9nR8="}
|
2933
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2934
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2935
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2936
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2937
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:09:48 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:09:48 UTC +00:00]]
|
2938
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2939
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2940
|
+
Parameters: {"nonce"=>"abcd"}
|
2941
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:04:48.833432') LIMIT 1
|
2942
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2943
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
2944
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2945
|
+
Redirected to http://test.host/
|
2946
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.5ms)
|
2947
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
2948
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2949
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2950
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:09:48 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:09:48 UTC +00:00]]
|
2951
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2952
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2953
|
+
Parameters: {"nonce"=>"abcd"}
|
2954
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:04:48.852301') LIMIT 1[0m
|
2955
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2956
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
2957
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2958
|
+
Redirected to http://test.host/
|
2959
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
2960
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "lti_provider_launches" [0m
|
2961
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2962
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2963
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2964
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:09:48 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:09:48 UTC +00:00]]
|
2965
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2966
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2967
|
+
[1m[35m (0.6ms)[0m UPDATE "lti_provider_launches" SET "created_at" = '2013-10-17 21:59:48.864409', "updated_at" = '2013-10-17 22:09:48.864885', "provider_params" = '---
|
2968
|
+
custom_canvas_course_id: 1
|
2969
|
+
custom_canvas_user_id: 2
|
2970
|
+
tool_consumer_instance_guid: 123abc
|
2971
|
+
' WHERE "lti_provider_launches"."id" = 1
|
2972
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2973
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2974
|
+
Parameters: {"nonce"=>"abcd"}
|
2975
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:04:48.867914') LIMIT 1
|
2976
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
2977
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2978
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2979
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2980
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:09:48 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:09:48 UTC +00:00]]
|
2981
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2982
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
2983
|
+
Parameters: {"nonce"=>"invalid"}
|
2984
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-17 22:04:48.877440') LIMIT 1
|
2985
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2986
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2987
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2988
|
+
Processing by LtiProvider::LtiController#configure as XML
|
2989
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
2990
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2991
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2992
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2993
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2994
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2995
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2996
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2997
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2998
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2999
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3000
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3001
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3002
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3003
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3004
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3005
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3006
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3007
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3008
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3009
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3010
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3011
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3012
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3013
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3014
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3015
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3016
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3017
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3018
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3019
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
3020
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
3021
|
+
Connecting to database specified by database.yml
|
3022
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3023
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
3024
|
+
Rendered /Users/simonista/Instructure/lti_provider_engine/app/views/lti_provider/lti/cookie_test.html.erb within layouts/lti_provider/application (0.2ms)
|
3025
|
+
Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)
|
3026
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3027
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3028
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
3029
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
3030
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3031
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3032
|
+
Processing by LtiProvider::LtiController#configure as XML
|
3033
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
3034
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3035
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3036
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3037
|
+
[1m[36mSQL (24.2ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:18:33 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:18:33 UTC +00:00]]
|
3038
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3039
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3040
|
+
Parameters: {"nonce"=>"abcd"}
|
3041
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:13:33.412204') LIMIT 1[0m
|
3042
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3043
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
3044
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3045
|
+
Redirected to http://test.host/
|
3046
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.5ms)
|
3047
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
3048
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3049
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3050
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:18:33 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:18:33 UTC +00:00]]
|
3051
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3052
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3053
|
+
Parameters: {"nonce"=>"abcd"}
|
3054
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:13:33.430181') LIMIT 1
|
3055
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3056
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
3057
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3058
|
+
Redirected to http://test.host/
|
3059
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
3060
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "lti_provider_launches"
|
3061
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
3062
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3063
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3064
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:18:33 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:18:33 UTC +00:00]]
|
3065
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3066
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3067
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "lti_provider_launches" SET "created_at" = '2013-10-17 22:08:33.442223', "updated_at" = '2013-10-17 22:18:33.442655', "provider_params" = '---
|
3068
|
+
custom_canvas_course_id: 1
|
3069
|
+
custom_canvas_user_id: 2
|
3070
|
+
tool_consumer_instance_guid: 123abc
|
3071
|
+
' WHERE "lti_provider_launches"."id" = 1[0m
|
3072
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3073
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3074
|
+
Parameters: {"nonce"=>"abcd"}
|
3075
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:13:33.445146') LIMIT 1[0m
|
3076
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)
|
3077
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
3078
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3079
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3080
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:18:33 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:18:33 UTC +00:00]]
|
3081
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3082
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3083
|
+
Parameters: {"nonce"=>"invalid"}
|
3084
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-17 22:13:33.461107') LIMIT 1[0m
|
3085
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
3086
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3087
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3088
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3089
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382048313", "oauth_nonce"=>"PYlujcHwTdm7K8KJA6D5BXSOzLC2U2KD5kzv9ItYs", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"yCz0Qt9Iqk6Kp/VIELldKrX6IKo="}
|
3090
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3091
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:18:33 UTC +00:00], ["nonce", "PYlujcHwTdm7K8KJA6D5BXSOzLC2U2KD5kzv9ItYs"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: PYlujcHwTdm7K8KJA6D5BXSOzLC2U2KD5kzv9ItYs\noauth_signature: yCz0Qt9Iqk6Kp/VIELldKrX6IKo=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382048313'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:18:33 UTC +00:00]]
|
3092
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3093
|
+
Redirected to http://test.host/cookie_test?nonce=PYlujcHwTdm7K8KJA6D5BXSOzLC2U2KD5kzv9ItYs
|
3094
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
|
3095
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
3096
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3097
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3098
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382048313", "oauth_nonce"=>"suiJ6quaL2lkKOLSDQCOsThPBn6wbr0sv7yXu4VYnx0", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"KsH+OWZCaHNzoVAQKe5zhuAhKFc="}
|
3099
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3100
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:18:33 UTC +00:00], ["nonce", "suiJ6quaL2lkKOLSDQCOsThPBn6wbr0sv7yXu4VYnx0"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: suiJ6quaL2lkKOLSDQCOsThPBn6wbr0sv7yXu4VYnx0\noauth_signature: KsH+OWZCaHNzoVAQKe5zhuAhKFc=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382048313'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:18:33 UTC +00:00]]
|
3101
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3102
|
+
Redirected to http://test.host/cookie_test?nonce=suiJ6quaL2lkKOLSDQCOsThPBn6wbr0sv7yXu4VYnx0
|
3103
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
|
3104
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
3105
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
3106
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3107
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3108
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382048313", "oauth_nonce"=>"SMmLoclVvKW3ZxT2OHROBPlmlL6DuFK6p2M4jTM6w8", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"AZ8u8Anxx96wzoM+isp1gq3GYPc="}
|
3109
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
3110
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3111
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3112
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3113
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382048313", "oauth_nonce"=>"OPfkZ3MpNE1K82g8VzvuW753a64vFCwpzLw5XZ04EIM", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"yLJ7fY9rr5j5x6KJuQS0l/I/zDs="}
|
3114
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3115
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3116
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3117
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3118
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3119
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3120
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3121
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3122
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3123
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3124
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3125
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3126
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3127
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3128
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3129
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3130
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3131
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3132
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3133
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3134
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3135
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3136
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3137
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3138
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3139
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3140
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3141
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3142
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3143
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3144
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
3145
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
3146
|
+
Connecting to database specified by database.yml
|
3147
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3148
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
3149
|
+
Rendered /Users/simonista/Instructure/lti_provider_engine/app/views/lti_provider/lti/cookie_test.html.erb within layouts/lti_provider/application (0.2ms)
|
3150
|
+
Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)
|
3151
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3152
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3153
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
3154
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
3155
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3156
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3157
|
+
Processing by LtiProvider::LtiController#configure as XML
|
3158
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
3159
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3160
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3161
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3162
|
+
[1m[36mSQL (26.7ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:33:36 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:33:36 UTC +00:00]]
|
3163
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3164
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3165
|
+
Parameters: {"nonce"=>"abcd"}
|
3166
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:28:36.410585') LIMIT 1[0m
|
3167
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3168
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
3169
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3170
|
+
Redirected to http://test.host/
|
3171
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.5ms)
|
3172
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
3173
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3174
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3175
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:33:36 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:33:36 UTC +00:00]]
|
3176
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3177
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3178
|
+
Parameters: {"nonce"=>"abcd"}
|
3179
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:28:36.428646') LIMIT 1
|
3180
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3181
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
3182
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3183
|
+
Redirected to http://test.host/
|
3184
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
3185
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "lti_provider_launches"
|
3186
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
3187
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3188
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3189
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:33:36 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:33:36 UTC +00:00]]
|
3190
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3191
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3192
|
+
Parameters: {"nonce"=>"invalid"}
|
3193
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-17 22:28:36.441641') LIMIT 1
|
3194
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
3195
|
+
[1m[36m (1.4ms)[0m [1mrollback transaction[0m
|
3196
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3197
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3198
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:33:36 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:33:36 UTC +00:00]]
|
3199
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3200
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3201
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "lti_provider_launches" SET "created_at" = '2013-10-17 22:23:36.452400', "updated_at" = '2013-10-17 22:33:36.452838', "provider_params" = '---
|
3202
|
+
custom_canvas_course_id: 1
|
3203
|
+
custom_canvas_user_id: 2
|
3204
|
+
tool_consumer_instance_guid: 123abc
|
3205
|
+
' WHERE "lti_provider_launches"."id" = 1[0m
|
3206
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3207
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3208
|
+
Parameters: {"nonce"=>"abcd"}
|
3209
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:28:36.455515') LIMIT 1[0m
|
3210
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
3211
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
3212
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3213
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3214
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382049216", "oauth_nonce"=>"0OMFn3o0oNqaaDvQbrO7wuCb5wuQBtQHpX0ET5wDaxg", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"xjdHFIzgv3Qqb6trIndm0BiVC6s="}
|
3215
|
+
[1m[35m (0.7ms)[0m SAVEPOINT active_record_1
|
3216
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:33:36 UTC +00:00], ["nonce", "0OMFn3o0oNqaaDvQbrO7wuCb5wuQBtQHpX0ET5wDaxg"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: 0OMFn3o0oNqaaDvQbrO7wuCb5wuQBtQHpX0ET5wDaxg\noauth_signature: xjdHFIzgv3Qqb6trIndm0BiVC6s=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382049216'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:33:36 UTC +00:00]]
|
3217
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3218
|
+
Redirected to http://test.host/cookie_test?nonce=0OMFn3o0oNqaaDvQbrO7wuCb5wuQBtQHpX0ET5wDaxg
|
3219
|
+
Completed 302 Found in 13ms (ActiveRecord: 1.5ms)
|
3220
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3221
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3222
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3223
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382049216", "oauth_nonce"=>"qDPxPJHIcTBPyi8fgSMOjvm5dCfMdhP3roWEA5bA", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"XamEI+hWm2bTFjY800e3JhRkz94="}
|
3224
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3225
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:33:36 UTC +00:00], ["nonce", "qDPxPJHIcTBPyi8fgSMOjvm5dCfMdhP3roWEA5bA"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: qDPxPJHIcTBPyi8fgSMOjvm5dCfMdhP3roWEA5bA\noauth_signature: XamEI+hWm2bTFjY800e3JhRkz94=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382049216'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:33:36 UTC +00:00]]
|
3226
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3227
|
+
Redirected to http://test.host/cookie_test?nonce=qDPxPJHIcTBPyi8fgSMOjvm5dCfMdhP3roWEA5bA
|
3228
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
|
3229
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
3230
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
3231
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3232
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3233
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382049216", "oauth_nonce"=>"BL0Ir854uXVOrzbqMEQTc5tFvbSsajHEuYJGB1NhE", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"vBE/i3RyyvkyJtx3nQbN4JT2i1Y="}
|
3234
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
3235
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3236
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3237
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3238
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382049216", "oauth_nonce"=>"8NdjXPOmXT9O32J1i96kNWPXMTcmG3DGMrmhViSaMH4", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"VBQMSTUed+WpEz3360WDyYe6szo="}
|
3239
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
3240
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3241
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3242
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3243
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3244
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3245
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3246
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3247
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3248
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3249
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3250
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3251
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3252
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3253
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3254
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3255
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3256
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3257
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3258
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3259
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3260
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3261
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3262
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3263
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3264
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3265
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3266
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3267
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3268
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3269
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
3270
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
3271
|
+
Connecting to database specified by database.yml
|
3272
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3273
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3274
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3275
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3276
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3277
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3278
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3279
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3280
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3281
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3282
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3283
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3284
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3285
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3286
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3287
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3288
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3289
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3290
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3291
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3292
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3293
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3294
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3295
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3296
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3297
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3298
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3299
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3300
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3301
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3302
|
+
[1m[36mSQL (5.1ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:56:51 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:56:51 UTC +00:00]]
|
3303
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3304
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3305
|
+
Parameters: {"nonce"=>"invalid"}
|
3306
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-17 22:51:51.239068') LIMIT 1[0m
|
3307
|
+
Rendered text template (0.0ms)
|
3308
|
+
Completed 200 OK in 12ms (Views: 8.2ms | ActiveRecord: 0.1ms)
|
3309
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
3310
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3311
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3312
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:56:51 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:56:51 UTC +00:00]]
|
3313
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3314
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3315
|
+
Parameters: {"nonce"=>"abcd"}
|
3316
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:51:51.260256') LIMIT 1[0m
|
3317
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3318
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
3319
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3320
|
+
Redirected to http://test.host/
|
3321
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
3322
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "lti_provider_launches" [0m
|
3323
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3324
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3325
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3326
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:56:51 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:56:51 UTC +00:00]]
|
3327
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3328
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3329
|
+
Parameters: {"nonce"=>"abcd"}
|
3330
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:51:51.276267') LIMIT 1[0m
|
3331
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3332
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
3333
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3334
|
+
Redirected to http://test.host/
|
3335
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
3336
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3337
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3338
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3339
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:56:51 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:56:51 UTC +00:00]]
|
3340
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3341
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3342
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "lti_provider_launches" SET "created_at" = '2013-10-17 22:46:51.288338', "updated_at" = '2013-10-17 22:56:51.288855', "provider_params" = '---
|
3343
|
+
custom_canvas_course_id: 1
|
3344
|
+
custom_canvas_user_id: 2
|
3345
|
+
tool_consumer_instance_guid: 123abc
|
3346
|
+
' WHERE "lti_provider_launches"."id" = 1[0m
|
3347
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3348
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3349
|
+
Parameters: {"nonce"=>"abcd"}
|
3350
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:51:51.292205') LIMIT 1[0m
|
3351
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
3352
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3353
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3354
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
3355
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
3356
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3357
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3358
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
3359
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
3360
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3361
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3362
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3363
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382050611", "oauth_nonce"=>"gxKQ9QXOQglTeJP596ntEVGEmRaZcaoJQ8kEvg3QQ", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"m6XR3b3FP/odIJQXGnT1OpD4IAg="}
|
3364
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3365
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3366
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3367
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3368
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382050611", "oauth_nonce"=>"GYxmxMyqwuKpUEISQOsm6IlFA4rChzjrf0sklXrK36c", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"YTN3mWZmSQTQ8wCe32oS7bptAFk="}
|
3369
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3370
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:56:51 UTC +00:00], ["nonce", "GYxmxMyqwuKpUEISQOsm6IlFA4rChzjrf0sklXrK36c"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: GYxmxMyqwuKpUEISQOsm6IlFA4rChzjrf0sklXrK36c\noauth_signature: YTN3mWZmSQTQ8wCe32oS7bptAFk=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382050611'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:56:51 UTC +00:00]]
|
3371
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3372
|
+
Redirected to http://test.host/cookie_test?nonce=GYxmxMyqwuKpUEISQOsm6IlFA4rChzjrf0sklXrK36c
|
3373
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
|
3374
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1[0m
|
3375
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
3376
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3377
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3378
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382050611", "oauth_nonce"=>"EmiSkjaIejI2FfRz5Kl0dzRV1dQWWmeFXVrVl4X4", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"U4UacqxFsOII62rhi8FhrkaxeG4="}
|
3379
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3380
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:56:51 UTC +00:00], ["nonce", "EmiSkjaIejI2FfRz5Kl0dzRV1dQWWmeFXVrVl4X4"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: EmiSkjaIejI2FfRz5Kl0dzRV1dQWWmeFXVrVl4X4\noauth_signature: U4UacqxFsOII62rhi8FhrkaxeG4=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382050611'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:56:51 UTC +00:00]]
|
3381
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3382
|
+
Redirected to http://test.host/cookie_test?nonce=EmiSkjaIejI2FfRz5Kl0dzRV1dQWWmeFXVrVl4X4
|
3383
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
3384
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
3385
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3386
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3387
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382050611", "oauth_nonce"=>"RXPXD5P5tVElNkYDMdlxhZWcs8gg3maq12muwcinFo", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"sR91MKyd2/DmJAEGI/CWWxdmhBw="}
|
3388
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
3389
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3390
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3391
|
+
Processing by LtiProvider::LtiController#configure as XML
|
3392
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
3393
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3394
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
3395
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
3396
|
+
Connecting to database specified by database.yml
|
3397
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3398
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3399
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382050678", "oauth_nonce"=>"gz8LNKU3bB6lJUWBy7HJtlq45daE6EPQllAXCgtuzY", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"laNnB/QOsqg8TbsuiiMrVIB6lnA="}
|
3400
|
+
Rendered text template (0.0ms)
|
3401
|
+
Completed 200 OK in 17ms (Views: 8.4ms | ActiveRecord: 1.5ms)
|
3402
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3403
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3404
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3405
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382050678", "oauth_nonce"=>"I1qu0K55izKbysRT9MqVhihxLK8Gvr07z1ca4Lkypk", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"QNn3YW/68v/ohZtjS6hZWqqX/oQ="}
|
3406
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3407
|
+
[1m[36mSQL (4.1ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:57:58 UTC +00:00], ["nonce", "I1qu0K55izKbysRT9MqVhihxLK8Gvr07z1ca4Lkypk"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: I1qu0K55izKbysRT9MqVhihxLK8Gvr07z1ca4Lkypk\noauth_signature: QNn3YW/68v/ohZtjS6hZWqqX/oQ=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382050678'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:57:58 UTC +00:00]]
|
3408
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3409
|
+
Redirected to http://test.host/cookie_test?nonce=I1qu0K55izKbysRT9MqVhihxLK8Gvr07z1ca4Lkypk
|
3410
|
+
Completed 302 Found in 11ms (ActiveRecord: 4.2ms)
|
3411
|
+
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
3412
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3413
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3414
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382050678", "oauth_nonce"=>"6bvKQ1ykX5TiZCOSV94xZP3ve8ZTNliO3q0Bym6uhno", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"rw1ae/S4Zz7AStHNNZO5R+txAr8="}
|
3415
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3416
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:57:58 UTC +00:00], ["nonce", "6bvKQ1ykX5TiZCOSV94xZP3ve8ZTNliO3q0Bym6uhno"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: 6bvKQ1ykX5TiZCOSV94xZP3ve8ZTNliO3q0Bym6uhno\noauth_signature: rw1ae/S4Zz7AStHNNZO5R+txAr8=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382050678'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:57:58 UTC +00:00]]
|
3417
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3418
|
+
Redirected to http://test.host/cookie_test?nonce=6bvKQ1ykX5TiZCOSV94xZP3ve8ZTNliO3q0Bym6uhno
|
3419
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.5ms)
|
3420
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
3421
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3422
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3423
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3424
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382050678", "oauth_nonce"=>"NJ9dWX9aoMFeyI4Mnm1y0gFsLGp3qGOxIKIwQ0byw0", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"XH7FToamynvI40Pzv2eoBnu7gDg="}
|
3425
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3426
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3427
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3428
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
3429
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
3430
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3431
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3432
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
3433
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
3434
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3435
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3436
|
+
Processing by LtiProvider::LtiController#configure as XML
|
3437
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
3438
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3439
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3440
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3441
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:57:58 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:57:58 UTC +00:00]]
|
3442
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3443
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3444
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "lti_provider_launches" SET "created_at" = '2013-10-17 22:47:58.201820', "updated_at" = '2013-10-17 22:57:58.202291', "provider_params" = '---
|
3445
|
+
custom_canvas_course_id: 1
|
3446
|
+
custom_canvas_user_id: 2
|
3447
|
+
tool_consumer_instance_guid: 123abc
|
3448
|
+
' WHERE "lti_provider_launches"."id" = 1[0m
|
3449
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3450
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3451
|
+
Parameters: {"nonce"=>"abcd"}
|
3452
|
+
[1m[36mLtiProvider::Launch Load (0.2ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:52:58.205745') LIMIT 1[0m
|
3453
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
3454
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
3455
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3456
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3457
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:57:58 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:57:58 UTC +00:00]]
|
3458
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3459
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3460
|
+
Parameters: {"nonce"=>"abcd"}
|
3461
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:52:58.219637') LIMIT 1[0m
|
3462
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3463
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
3464
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3465
|
+
Redirected to http://test.host/
|
3466
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
3467
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3468
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3469
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3470
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:57:58 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:57:58 UTC +00:00]]
|
3471
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3472
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3473
|
+
Parameters: {"nonce"=>"abcd"}
|
3474
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:52:58.235183') LIMIT 1
|
3475
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3476
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
3477
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3478
|
+
Redirected to http://test.host/
|
3479
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
|
3480
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "lti_provider_launches"
|
3481
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
3482
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3483
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3484
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:57:58 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:57:58 UTC +00:00]]
|
3485
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3486
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3487
|
+
Parameters: {"nonce"=>"invalid"}
|
3488
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-17 22:52:58.274004') LIMIT 1
|
3489
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
3490
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
3491
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3492
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3493
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3494
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3495
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3496
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3497
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3498
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3499
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3500
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3501
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3502
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3503
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3504
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3505
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3506
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3507
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3508
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3509
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3510
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3511
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3512
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3513
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3514
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3515
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3516
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3517
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3518
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3519
|
+
Initializing LTI key and secret using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti.yml
|
3520
|
+
Initializing LTI XML config using configuration in /Users/simonista/Instructure/lti_provider_engine/spec/dummy/config/lti_xml.yml
|
3521
|
+
Connecting to database specified by database.yml
|
3522
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3523
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
3524
|
+
Rendered /Users/simonista/Instructure/lti_provider_engine/app/views/lti_provider/lti/cookie_test.html.erb within layouts/lti_provider/application (0.2ms)
|
3525
|
+
Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
|
3526
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3527
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3528
|
+
Processing by LtiProvider::LtiController#cookie_test as HTML
|
3529
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
3530
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3531
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3532
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3533
|
+
[1m[36mSQL (4.2ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:59:10 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:59:10 UTC +00:00]]
|
3534
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3535
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3536
|
+
Parameters: {"nonce"=>"abcd"}
|
3537
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:54:10.845836') LIMIT 1[0m
|
3538
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3539
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ?[0m [["id", 1]]
|
3540
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3541
|
+
Redirected to http://test.host/
|
3542
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.5ms)
|
3543
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
3544
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3545
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3546
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:59:10 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:59:10 UTC +00:00]]
|
3547
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3548
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3549
|
+
Parameters: {"nonce"=>"abcd"}
|
3550
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:54:10.864776') LIMIT 1
|
3551
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3552
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "lti_provider_launches" WHERE "lti_provider_launches"."id" = ? [["id", 1]]
|
3553
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3554
|
+
Redirected to http://test.host/
|
3555
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
3556
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "lti_provider_launches"
|
3557
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
3558
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3559
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3560
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:59:10 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:59:10 UTC +00:00]]
|
3561
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3562
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3563
|
+
Parameters: {"nonce"=>"invalid"}
|
3564
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'invalid' AND (created_at > '2013-10-17 22:54:10.882946') LIMIT 1
|
3565
|
+
Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)
|
3566
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
3567
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3568
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3569
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://canvas"], ["created_at", Thu, 17 Oct 2013 22:59:10 UTC +00:00], ["nonce", "abcd"], ["provider_params", "---\ncustom_canvas_course_id: 1\ncustom_canvas_user_id: 2\ntool_consumer_instance_guid: 123abc\n"], ["updated_at", Thu, 17 Oct 2013 22:59:10 UTC +00:00]]
|
3570
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3571
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3572
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "lti_provider_launches" SET "created_at" = '2013-10-17 22:49:10.893063', "updated_at" = '2013-10-17 22:59:10.893670', "provider_params" = '---
|
3573
|
+
custom_canvas_course_id: 1
|
3574
|
+
custom_canvas_user_id: 2
|
3575
|
+
tool_consumer_instance_guid: 123abc
|
3576
|
+
' WHERE "lti_provider_launches"."id" = 1[0m
|
3577
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3578
|
+
Processing by LtiProvider::LtiController#consume_launch as HTML
|
3579
|
+
Parameters: {"nonce"=>"abcd"}
|
3580
|
+
[1m[36mLtiProvider::Launch Load (0.1ms)[0m [1mSELECT "lti_provider_launches".* FROM "lti_provider_launches" WHERE "lti_provider_launches"."nonce" = 'abcd' AND (created_at > '2013-10-17 22:54:10.896926') LIMIT 1[0m
|
3581
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
3582
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3583
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3584
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3585
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382050750", "oauth_nonce"=>"ZIxFYi5aiDyKrlMEAglQoJp6IsmI2Eno10kfvDEapbQ", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"w+EYoJ4togaH1VObajfKwQ+wVwg="}
|
3586
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3587
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:59:10 UTC +00:00], ["nonce", "ZIxFYi5aiDyKrlMEAglQoJp6IsmI2Eno10kfvDEapbQ"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: ZIxFYi5aiDyKrlMEAglQoJp6IsmI2Eno10kfvDEapbQ\noauth_signature: w+EYoJ4togaH1VObajfKwQ+wVwg=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382050750'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:59:10 UTC +00:00]]
|
3588
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3589
|
+
Redirected to http://test.host/cookie_test?nonce=ZIxFYi5aiDyKrlMEAglQoJp6IsmI2Eno10kfvDEapbQ
|
3590
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
3591
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
3592
|
+
[1m[35m (0.4ms)[0m begin transaction
|
3593
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3594
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382050750", "oauth_nonce"=>"ek6RtczdrL5e0KoYNMcGUQ8wnGVw4ZHfmoleL4jd8", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"lLv4wZnmXjdV4RxEcU5+mM6vo/8="}
|
3595
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3596
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "lti_provider_launches" ("canvas_url", "created_at", "nonce", "provider_params", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_url", "http://test.canvas"], ["created_at", Thu, 17 Oct 2013 22:59:10 UTC +00:00], ["nonce", "ek6RtczdrL5e0KoYNMcGUQ8wnGVw4ZHfmoleL4jd8"], ["provider_params", "---\nlaunch_presentation_return_url: http://test.canvas\nlti_message_type: basic-lti-launch-request\nlti_version: LTI-1p0\noauth_consumer_key: '12345'\noauth_nonce: ek6RtczdrL5e0KoYNMcGUQ8wnGVw4ZHfmoleL4jd8\noauth_signature: lLv4wZnmXjdV4RxEcU5+mM6vo/8=\noauth_signature_method: HMAC-SHA1\noauth_timestamp: '1382050750'\noauth_version: '1.0'\ncustom_canvas_user_id: '1'\n"], ["updated_at", Thu, 17 Oct 2013 22:59:10 UTC +00:00]]
|
3597
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3598
|
+
Redirected to http://test.host/cookie_test?nonce=ek6RtczdrL5e0KoYNMcGUQ8wnGVw4ZHfmoleL4jd8
|
3599
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
|
3600
|
+
[1m[35mLtiProvider::Launch Load (0.1ms)[0m SELECT "lti_provider_launches".* FROM "lti_provider_launches" LIMIT 1
|
3601
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
3602
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3603
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3604
|
+
Parameters: {"oauth_consumer_key"=>"12345", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382050750", "oauth_nonce"=>"Eombe6rFenWsyixlXfS6vSdYfZzyloZ0yfgOLDyp1I", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"kPa9Gk7naiAWM9eFr2Khw1CiqgY="}
|
3605
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3606
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3607
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3608
|
+
Processing by LtiProvider::LtiController#launch as HTML
|
3609
|
+
Parameters: {"oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1382050750", "oauth_nonce"=>"IxRULxhDUwBUbBYHeFhLfpm5kIQfhNXYwsU4FGReU", "oauth_version"=>"1.0", "custom_canvas_user_id"=>"1", "launch_presentation_return_url"=>"http://test.canvas", "launch_url"=>"http://test.host", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_signature"=>"V2cZkfasDA+QFTCCicxLDtzfCBs="}
|
3610
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
3611
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3612
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3613
|
+
Processing by LtiProvider::LtiController#configure as XML
|
3614
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
3615
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3616
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3617
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3618
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3619
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3620
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3621
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3622
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3623
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3624
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3625
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3626
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3627
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3628
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3629
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3630
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3631
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3632
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3633
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3634
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3635
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3636
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3637
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3638
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3639
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3640
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3641
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3642
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3643
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|