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

(Feature) Gender verification. Issue basic identity certificate #466

Merged
merged 15 commits into from
Mar 20, 2024

Conversation

johnsmith-gooddollar
Copy link
Collaborator

@johnsmith-gooddollar johnsmith-gooddollar commented Mar 12, 2024

Description

  • scaffolding
  • small refactoring
  • aws client
  • aws gender + age utils method
  • endpoint
  • faceted age check method
  • unit tests

About #453 #454

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

Checklist:

  • PR title matches follow: (Feature|Bug|Chore) Task Name
  • My code follows the style guidelines of this project
  • I have followed all the instructions described in the initial task (check Definitions of Done)
  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have added reference to a related issue in the repository
  • I have added a detailed description of the changes proposed in the pull request. I am as descriptive as possible, assisting reviewers as much as possible.
  • I have added screenshots related to my pull request (for frontend tasks)
  • I have pasted a gif showing the feature.
  • @mentions of the person or team responsible for reviewing proposed changes

@johnsmith-gooddollar johnsmith-gooddollar changed the title (Feature) Gender verification (Feature) Gender verification. Issue basic identity certificate Mar 12, 2024
@johnsmith-gooddollar johnsmith-gooddollar marked this pull request as ready for review March 12, 2024 16:25
@johnsmith-gooddollar
Copy link
Collaborator Author

johnsmith-gooddollar commented Mar 12, 2024

not tested yet, also needs unit tests, but could be reviewed

@@ -292,8 +342,8 @@ const enrollmentProcessors = new WeakMap()

export default (storage, log) => {
if (!enrollmentProcessors.has(storage)) {
log = log || logger.child({ from: 'EnrollmentProcessor' })
const enrollmentProcessor = new EnrollmentProcessor(Config, storage, AdminWallet, log)
const processorLogger = log || logger.child({ from: 'EnrollmentProcessor' })
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

actually processor shouldn't encapsulate logger. it should be passed as optional param to each method.
this should be fixed in a separate PR.

src/server/goodid/utils.js Outdated Show resolved Hide resolved
src/server/verification/processor/provider/ZoomProvider.js Outdated Show resolved Hide resolved
src/server/verification/processor/EnrollmentProcessor.js Outdated Show resolved Hide resolved
src/server/goodid/goodid-middleware.js Outdated Show resolved Hide resolved
src/server/goodid/goodid-middleware.js Dismissed Show dismissed Hide dismissed
@johnsmith-gooddollar johnsmith-gooddollar merged commit 344b07b into master Mar 20, 2024
11 checks passed
@johnsmith-gooddollar johnsmith-gooddollar deleted the gender-verification branch March 20, 2024 10:58
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.

2 participants