Integrate server with Zoom
Closed this issue · 2 comments
[x] add /:provider param to face verification endpoint
[x] add Zoom enrollment API
[x] add EnrollmentProcessor as service responsible to perform verifications
[x] move all session / wallet updates to the EnrollmentProcessor
[x] add Zoom/Kairos enrollment providers, perform verification using corresponding APIs (for kairos use existing code)
@StanislavShevchenko we have to backport old unit tests to the new implementation
Tomorrow i'll
- prepare a few test cases with all mocks required
- specify which cases we should test
- specify how to implement cases described above via mocks
(all of them are described onto zoom api docs so you just will need to copy and paste example of json response for some case to the mock)
Generally new unit tests will be the same like old ones, just mocks & assertions could be a few diffenrent as we a) using different class structure b) zoom8 api have a bit different json reposne format
@StanislavShevchenko please, look at those commits:
50f978a
af9203d
i've commented what you should to do
the third unit test (EnrollmentProcessor) will be prepared tomorrow in the first part of the day