spec/dummy/log/test.log in wordjelly-auth-1.1.3 vs spec/dummy/log/test.log in wordjelly-auth-1.1.4

- old
+ new

@@ -15867,5 +15867,115 @@ MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.001011046s MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"auth_clients", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x47038742140560 type=uuid data=0xf4cac5bc9f924ae1...>}, "deletes"=>[{"q"=>{}, "limit"=>0}]} MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000811425s MONGODB | localhost:27017 | admin.endSessions | STARTED | {"endSessions"=>[{"id"=><BSON::Binary:0x47038742140560 type=uuid data=0xf4cac5bc9f924ae1...>}]} MONGODB | localhost:27017 | admin.endSessions | SUCCEEDED | 0.0006411489999999999s +ETHON: Libcurl initialized +ETHON: performed EASY effective_url=http://localhost:9200/ response_code=200 return_code=ok total_time=0.147235 +ETHON: performed EASY effective_url=http://localhost:9200/wordjelly_shopping_products response_code=200 return_code=ok total_time=0.01552 +Overwriting existing field resource_id in class Auth::Shopping::CartItem. +ETHON: performed EASY effective_url=http://localhost:9200/ response_code=200 return_code=ok total_time=0.002811 +ETHON: performed EASY effective_url=http://localhost:9200/wordjelly_shopping_cart_items response_code=200 return_code=ok total_time=0.004409 +Overwriting existing field name in class User. +ETHON: performed EASY effective_url=http://localhost:9200/ response_code=200 return_code=ok total_time=0.002422 +ETHON: performed EASY effective_url=http://localhost:9200/wordjelly_users response_code=200 return_code=ok total_time=0.002757 +ETHON: performed EASY effective_url=http://localhost:9200/wordjelly_shopping_products response_code=200 return_code=ok total_time=0.004591 +ETHON: performed EASY effective_url=http://localhost:9200/wordjelly_shopping_cart_items response_code=200 return_code=ok total_time=0.003806 +ETHON: performed EASY effective_url=http://localhost:9200/wordjelly_users response_code=200 return_code=ok total_time=0.003227 +Overwriting existing field name in class Admin. +Overwriting existing field admin in class Admin. +Overwriting existing field duration in class Auth::Workflow::Tlocation. +Overwriting existing field description in class Test. +MONGODB | Topology type 'unknown' initializing. +MONGODB | Server localhost:27017 initializing. +MONGODB | Topology type 'unknown' changed to type 'single'. +MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'. +MONGODB | There was a change in the members of the 'single' topology. +MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}, "deletes"=>[{"q"=>{}, "limit"=>0}]} +MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.037759996s +MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"auth_clients", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}, "deletes"=>[{"q"=>{}, "limit"=>0}]} +MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000512634s +MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}, "deletes"=>[{"q"=>{}, "limit"=>0}]} +MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0008199349999999999s +MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"auth_clients", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}, "deletes"=>[{"q"=>{}, "limit"=>0}]} +MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000627542s +MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"email"=>"bobbie_raynor@kunde.io"}, "projection"=>{"_id"=>1}, "limit"=>1, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000820607s +MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{"authentication_token"=>"g5xEJJryg_w9rQUFyMX4"}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0006118489999999999s +MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{"authentication_token"=>"9DcirwJiQRuUFPX6dXu_"}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000582098s +MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}, "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5b2a13e4421aa909f0bd427b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5b2a13e4421... +MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.066201285s +MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"auth_clients", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}, "updates"=>[{"q"=>{"resource_id"=>BSON::ObjectId('5b2a13e4421aa909f0bd427b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::Object... +MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.010844016s +ETHON: performed EASY effective_url=http://localhost:9200/wordjelly_users/user/5b2a13e4421aa909f0bd427b response_code=201 return_code=ok total_time=0.28801600000000005 +MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"auth_clients", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}, "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5b2a13e5421aa909f0bd427e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5b2a... +MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0018350460000000001s +MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{"authentication_token"=>"G4ZHMox_sHbNCb83w4cw"}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000539165s +MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}, "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5b2a13e4421aa909f0bd427b')}, "u"=>{"$set"=>{"public"=>"no", "additional_... +MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000986767s +MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5b2a13e4421aa909f0bd427b')}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000554978s +MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"auth_clients", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}, "updates"=>[{"q"=>{"resource_id"=>BSON::ObjectId('5b2a13e4421aa909f0bd427b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::Object... +MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00061298s +MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"auth_clients", "query"=>{"resource_id"=>BSON::ObjectId('5b2a13e4421aa909f0bd427b')}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000377664s +ETHON: performed EASY effective_url=http://localhost:9200/wordjelly_users/user/5b2a13e4421aa909f0bd427b response_code=200 return_code=ok total_time=0.090098 +MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"email"=>"kris.ankunding@nolan.io"}, "projection"=>{"_id"=>1}, "limit"=>1, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0006687209999999999s +MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{"authentication_token"=>"-sLszscQh7tuzj2wzX8v"}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00043927s +MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{"authentication_token"=>"Xxz29V2cxkuU2mdpPC2k"}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00040867s +MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}, "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5b2a13e5421aa909f0bd4280')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5b2a13e5421... +MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000668803s +MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"auth_clients", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}, "updates"=>[{"q"=>{"resource_id"=>BSON::ObjectId('5b2a13e5421aa909f0bd4280')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::Object... +MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005819379999999999s +ETHON: performed EASY effective_url=http://localhost:9200/wordjelly_users/user/5b2a13e5421aa909f0bd4280 response_code=201 return_code=ok total_time=0.077969 +MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{"authentication_token"=>"_ZapJjcVxVWoxdsQPL76"}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000542716s +MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}, "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5b2a13e5421aa909f0bd4280')}, "u"=>{"$set"=>{"public"=>"no", "additional_... +MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006773349999999999s +MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5b2a13e5421aa909f0bd4280')}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00043699600000000004s +MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"auth_clients", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}, "updates"=>[{"q"=>{"resource_id"=>BSON::ObjectId('5b2a13e5421aa909f0bd4280')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::Object... +MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00048093100000000003s +MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"auth_clients", "query"=>{"resource_id"=>BSON::ObjectId('5b2a13e5421aa909f0bd4280')}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000426653s +ETHON: performed EASY effective_url=http://localhost:9200/wordjelly_users/user/5b2a13e5421aa909f0bd4280 response_code=200 return_code=ok total_time=0.053255 + + +Started PUT "/profiles/credential_exists" for 127.0.0.1 at 2018-06-20 14:14:21 +0530 +Processing by Auth::ProfilesController#update as JSON + Parameters: {"id"=>"credential_exists", "user"=>{"android_token"=>"xyz"}, "api_key"=>"test", "current_app_id"=>"testappid", "resource"=>"users", "profile"=>{"id"=>"credential_exists", "user"=>{"android_token"=>"xyz"}, "api_key"=>"test", "current_app_id"=>"testappid", "resource"=>"users"}} +Can't verify CSRF token authenticity +MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{"client_authentication.testappid"=>"testestoken1"}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000899918s +MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"client_authentication.testappid"=>"testestoken1"}, "limit"=>1, "singleBatch"=>true, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00072375s +MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"client_authentication.testappid"=>"testestoken1"}, "limit"=>1, "singleBatch"=>true, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000663301s +MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"auth_clients", "filter"=>{"api_key"=>"test", "app_ids"=>"testappid"}, "limit"=>1, "singleBatch"=>true, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000625886s +MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"auth_clients", "filter"=>{"api_key"=>"test", "app_ids"=>"testappid"}, "limit"=>1, "singleBatch"=>true, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000546932s +Unpermitted parameters: profile, user_token +MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{"_id"=>BSON::ObjectId('5b2a13e5421aa909f0bd4280')}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000477338s +MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5b2a13e5421aa909f0bd4280')}, "limit"=>1, "singleBatch"=>true, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000469973s +MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{"authentication_token"=>"y7XQsahXRBCH5bf3VN-y"}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.001018791s +MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}, "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5b2a13e5421aa909f0bd4280')}, "u"=>{"$set"=>{"android_token"=>"xyz", "android_endpoint"... +MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.001040653s +ETHON: performed EASY effective_url=http://localhost:9200/wordjelly_users/user/5b2a13e5421aa909f0bd4280 response_code=200 return_code=ok total_time=0.663294 +Completed 204 No Content in 2403ms +MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5b2a13e5421aa909f0bd4280')}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}} +MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000850492s +MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}, "deletes"=>[{"q"=>{}, "limit"=>0}]} +MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000792187s +MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"auth_clients", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}, "deletes"=>[{"q"=>{}, "limit"=>0}]} +MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0007879079999999999s +MONGODB | localhost:27017 | admin.endSessions | STARTED | {"endSessions"=>[{"id"=><BSON::Binary:0x46976414948320 type=uuid data=0x448cd5148bd446f5...>}]} +MONGODB | localhost:27017 | admin.endSessions | SUCCEEDED | 0.00054982s