1430 anonymous domain layer
Description
Implemented domain layer for Anonymous users. The domain layer communicates with modules
to get data and provide it to use cases. Usecase will provide specific results based on scenarios.
Technical details
Anonymous Domain Layer consists of below classes-
- LoginRepository interface - Maintain definition for user login
- LoginRepositoryImpl class - Class will help the domain layer to connect with the data layer
- UserLoginUseCase class - Usecase class helps to provide specific data for various scenarios. In this case, provide data for anonymous users.
Tests
LoginRepositoryTest - Here, we have tested the anonymous user API. using mocking we have mocked the data layer anonymous API and tested success and failure flow.
Issues
https://gitlab.e.foundation/e/os/backlog/-/issues/1430