adsabs / adsws

ADS web services
Other
2 stars 15 forks source link

Solved the rollbacks for bootstrap #149

Closed romanchyla closed 6 years ago

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.06%) to 82.849% when pulling 35a2a48aaaf4ae2cd22996000770508e4995b6d8 on romanchyla:rollbacks-solved into 7e47c4b621039fff62efb506ca7d46d5ba85ea21 on adsabs:master.

romanchyla commented 6 years ago

this solves some of the issues; but i'm hunting for more

e.g. ```curl -H 'Authorization: bearer b9uzwLBDtyB1gGHcxxadDGacsYrebd89KbIGq7mj' http://localhost:5000/v1/oauth/ping { "ping": "pong" }


still produces

LOG: statement: BEGIN LOG: statement: show standard_conforming_strings LOG: statement: SELECT oauth2token.id AS oauth2token_id, oauth2token.client_id AS oauth2token_client_id, oauth2token.user_id AS oauth2token_user_id, oauth2token.token_type AS oauth2token_token_type, oauth2token.access_token AS oauth2token_access_token, oauth2token.refresh_token AS oauth2token_refresh_token, oauth2token.expires AS oauth2token_expires, oauth2token._scopes AS oauth2tokenscopes, oauth2token.is_personal AS oauth2token_is_personal, oauth2token.is_internal AS oauth2token_is_internal FROM oauth2token WHERE oauth2token.access_token = 'b9uzwLBDtyB1gGHcxxadDGacsYrebd89KbIGq7mj' LIMIT 1 LOG: statement: SELECT users.password AS users_password, users.id AS users_id, users.email AS users_email, users.name AS users_name, users.active AS users_active, users.confirmed_at AS users_confirmed_at, users.last_login_at AS users_last_login_at, users.login_count AS users_login_count, users.registered_at AS users_registered_at, users.ratelimit_level AS users_ratelimit_level FROM users WHERE users.id = 1 LOG: statement: SELECT oauth2client.name AS oauth2client_name, oauth2client.description AS oauth2client_description, oauth2client.website AS oauth2client_website, oauth2client.user_id AS oauth2client_user_id, oauth2client.client_id AS oauth2client_client_id, oauth2client.client_secret AS oauth2client_client_secret, oauth2client.is_confidential AS oauth2client_is_confidential, oauth2client.is_internal AS oauth2client_is_internal, oauth2client.last_activity AS oauth2client_last_activity, oauth2client._redirect_uris AS oauth2clientredirect_uris, oauth2client._default_scopes AS oauth2client__default_scopes FROM oauth2client WHERE oauth2client.client_id = '854c3N6bPV5lBj4TVAiDFEHxDhVL0uxbC4abZaMg' LOG: statement: SELECT users.password AS users_password, users.id AS users_id, users.email AS users_email, users.name AS users_name, users.active AS users_active, users.confirmed_at AS users_confirmed_at, users.last_login_at AS users_last_login_at, users.login_count AS users_login_count, users.registered_at AS users_registered_at, users.ratelimit_level AS users_ratelimit_level FROM users WHERE users.id = 1 LIMIT 1 LOG: statement: SELECT roles.id AS roles_id, roles.name AS roles_name, roles.description AS roles_description FROM roles, roles_users WHERE 1 = roles_users.user_id AND roles.id = roles_users.role_id LOG: statement: ROLLBACK