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

Fix 15 #16

Merged
merged 5 commits into from
Jan 13, 2022
Merged

Fix 15 #16

merged 5 commits into from
Jan 13, 2022

Conversation

dekobon
Copy link
Collaborator

@dekobon dekobon commented Jan 13, 2022

Proposed changes

This change fixes #15. It also incorporates a number of small improvements in debugging and structure that made debugging the root cause of the issue easier.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have written my commit messages in the Conventional Commits format.
  • I have read the CONTRIBUTING doc
  • I have added tests (when possible) that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto master

Executing gunicorn by bash script gives us more
flexibility in how it is invoked. We can set default
values for log level, etc. Moreover, in this change
we are defining a default Docker CMD in the python
base image so that this does not need to be defined
in each inherited image.

Signed-off-by: Elijah Zupancic <[email protected]>
This change fixes the issue where JWT validation was failing
when adding money or doing payments. In order to fix the issue,
the JWT authentication logic needed to be refactored.

Additionally, due to the previous commit that upgraded the
Mockito dependencies, the mocking logic needed to be modified.

Signed-off-by: Elijah Zupancic <[email protected]>
@dekobon dekobon requested a review from qdzlug January 13, 2022 19:21
Copy link

@qdzlug qdzlug left a comment

Choose a reason for hiding this comment

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

LGTM

@dekobon dekobon merged commit 33c9dc9 into master Jan 13, 2022
@dekobon dekobon deleted the fix_15 branch January 13, 2022 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to add money or send money when JWT auth is enabled.
2 participants