Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global: add oauthclient rest workflow #205

Merged
merged 2 commits into from
May 15, 2020

Conversation

zzacharo
Copy link
Member

I added the refactoring in a new PR so we can keep the alternative implementation.

Note: I haven't fixed the tests yet.

invenio_oauthclient/contrib/cern.py Outdated Show resolved Hide resolved
invenio_oauthclient/errors.py Outdated Show resolved Hide resolved
invenio_oauthclient/ext.py Outdated Show resolved Hide resolved
invenio_oauthclient/handlers/rest.py Show resolved Hide resolved
invenio_oauthclient/handlers/rest.py Outdated Show resolved Hide resolved
invenio_oauthclient/handlers/ui.py Outdated Show resolved Hide resolved
invenio_oauthclient/utils.py Show resolved Hide resolved
invenio_oauthclient/views/rest.py Outdated Show resolved Hide resolved
tests/test_handlers_rest.py Outdated Show resolved Hide resolved
@@ -0,0 +1,161 @@
# -*- coding: utf-8 -*-
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there's still a bit of work here between client.py and rest.py.

Same pattern repeats in all functions:

Screenshot 2020-05-12 at 16 08 25

@zzacharo zzacharo marked this pull request as ready for review May 14, 2020 16:15
@zzacharo zzacharo force-pushed the rest-api-refactor branch 9 times, most recently from 7e1d305 to 20dbf79 Compare May 15, 2020 10:52
@zzacharo zzacharo mentioned this pull request May 15, 2020
@ppanero ppanero moved this from In progress to Pending merge in Sprint Week 19-20 - Invenio v3.3 May 15, 2020
@zzacharo zzacharo merged commit 72a8d4a into inveniosoftware:master May 15, 2020
Sprint Week 19-20 - Invenio v3.3 automation moved this from Pending merge to Done May 15, 2020
@ppanero ppanero mentioned this pull request May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants