-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore:implement login usecase #13
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KathurimaKimathi
force-pushed
the
usecase-login-srvc
branch
from
September 27, 2021 14:14
8b5aaf8
to
e78e336
Compare
NYARAS
approved these changes
Sep 27, 2021
Salaton
added a commit
that referenced
this pull request
Nov 4, 2021
* chore: add signup usecase implementation (#11) * implement login usecase (#13) * chore: layout and implement create facility API Signed-off-by: Otieno Calvine <nyarangaotieno@gmail.com> * chore: implement create facility api logic (#20) Create a healthcare facility MFL code must be unique accross platform Map the output to a format that can be consumed by frontend Signed-off-by: Otieno Calvine <nyarangaotieno@gmail.com> * chore: wire up ci configuration and unit tests (#22) Depend on postgreSQL docker image for integration tests Write mocks for unit testing Signed-off-by: Otieno Calvine <nyarangaotieno@gmail.com> * chore: add fetch all facilities api (#24) Signed-off-by: Otieno Calvine <nyarangaotieno@gmail.com> * feat: implement retrieve one facility by id (#21) Signed-off-by: maxwellgithinji <maxwellgithinji@gmail.com> * feat: add delete facility feature (#25) Signed-off-by: Kathurima Kimathi <kathurimakimathi415@gmail.com> * chore: replace int id with uuid (#26) Signed-off-by: maxwellgithinji <maxwellgithinji@gmail.com> * add metrics capture feature (#27) Signed-off-by: Kathurima Kimathi <kathurimakimathi415@gmail.com> * chore: make api usecases scaffold (#28) Signed-off-by: Otieno Calvine <nyarangaotieno@gmail.com> * chore: scaffold staff usecases (#31) Signed-off-by: maxwellgithinji <maxwellgithinji@gmail.com> * chore: fetch by active status and ensure facility creation idempotency (#32) Signed-off-by: Kathurima Kimathi <kathurimakimathi415@gmail.com> * chore: scaffold client and user usecases (#33) Signed-off-by: Otieno Calvine <nyarangaotieno@gmail.com> * chore: scaffold user staff models (#34) Signed-off-by: maxwellgithinji <maxwellgithinji@gmail.com> * chore: change uuid to type string (#37) Signed-off-by: maxwellgithinji <maxwellgithinji@gmail.com> * feat: implement set up user pin to save user's pin and exponential back off (#40) Signed-off-by: Kathurima Kimathi <kathurimakimathi415@gmail.com> * chore: implement register staff user (#39) Signed-off-by: maxwellgithinji <maxwellgithinji@gmail.com> * feat: implement set up user's login api (#36) Signed-off-by: Kathurima Kimathi <kathurimakimathi415@gmail.com> * feat: create client-user profile (#41) * feat: implement contacts, languages, user input for staff user (#42) Signed-off-by: maxwellgithinji <maxwellgithinji@gmail.com> * feat: implement adding client identifiers (#43) * implement exponential back off (#44) Signed-off-by: Kathurima Kimathi <kathurimakimathi415@gmail.com> * feat: implement staff address (#45) Signed-off-by: maxwellgithinji <maxwellgithinji@gmail.com> * feat: implement roles (#46) Signed-off-by: maxwellgithinji <maxwellgithinji@gmail.com> * add update staff user acddress and contacts (#47) Signed-off-by: Kathurima Kimathi <kathurimakimathi415@gmail.com> * feat: add invite client API (#50) This MR adds a feature where we send an invite to a user (client/staff). The invite contains a link to the app/play store and a temporary pin. The invite channel is SMS * add transfer client feature (#48) Signed-off-by: Kathurima Kimathi <kathurimakimathi415@gmail.com> * feat: implement reset pin (#52) This functionality can be used by admins or healthcare workers to generate and send a new PIN for a client or other user. The new PIN is generated automatically. * feat: implement ans ship facility usecase (#54) Signed-off-by: Kathurima Kimathi <kathurimakimathi415@gmail.com> * chore: update service name (#55) * chore: add database envs (#56) * fix: minor tweaks (#57) * feat: implement creating a user with a client profile (#59) * update and standardize facility mock test (#61) Signed-off-by: Kathurima Kimathi <kathurimakimathi415@gmail.com> * feat: add set user pin API (#60) This adds the functionality for setting a user pin. It can be used to set a PIN for the first time or even change the pin, on first login after invite or after a pin expires * feat: paginate facilities (#58) Signed-off-by: maxwellgithinji <maxwellgithinji@gmail.com> * fix: update deployment pipeline (#65) The deployment pipeline is updated to: When we merge to develop, it deploys to the testing environment and when we deploy to main branch, it deploys to prod. * refactor code to enforce loose coupling for easier testing (#64) Signed-off-by: Kathurima Kimathi <kathurimakimathi415@gmail.com> * feat: implement login by phone (#63) * feat: filter facilities (#59) (#66) Signed-off-by: maxwellgithinji <maxwellgithinji@gmail.com> * test: add gorm integration tests (#67) * chore: publish schema to test schema registry (#68) * fix: add Schema Registry CLI command version (#69) * fix: add schema registry URL env variable (#71) * fix: add registry URL env variable (#73) * fix: add url flag argument to push schema command (#74) * restore and fix usecase unit tests (#72) Signed-off-by: Kathurima Kimathi <kathurimakimathi415@gmail.com> * add client usecase unit tests (#78) Signed-off-by: Kathurima Kimathi <kathurimakimathi415@gmail.com> * fix: update onboarding service version (#75) * chore: publish schema to prod schema registry (#80) * add client usecase set user pin unit tests (#79) Signed-off-by: Kathurima Kimathi <kathurimakimathi415@gmail.com> * feat: search facilities (#76) Signed-off-by: maxwellgithinji <maxwellgithinji@gmail.com> * chore: remove unwanted files (#83) Co-authored-by: Maxwell Githinji <maxwellgithinji@gmail.com> Co-authored-by: Kathurima Kimathi <41376826+KathurimaKimathi@users.noreply.github.com> Co-authored-by: Otieno Calvine <nyarangaotieno@gmail.com> Co-authored-by: Otieno Calvine <35563516+NYARAS@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Review Checklist
Summary*
Add the items tackled here as checklists
Structure*
proper
title that conforms to our MR title standardsTests
Sign off*
N/B: