Commit Graph

5 Commits

Author SHA1 Message Date
Rubén D
a597d8ae62 chore: Create AccountService tests and rework models.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-12-10 12:07:38 +01:00
Rubén D
5952a3f48a chore: Adapt to hexagonal architecture pattern.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-11-26 19:45:53 +01:00
Rubén D
930c519ef1 chore: Implement AccountToUserGroupRepository tests.
A new Query class is needed to perform custom queries.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-11-20 17:31:13 +01:00
Rubén D
8a2bbc8283 chore: Use Aura.SqlQuery for building queries.
Refactor AccountRepository and AccountSearchRepository to use Aura.SqlQuery. This will allow to mock queries when testing.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-11-05 09:58:57 +01:00
Rubén D
1c8fb0ea1a refactor: [WIP] Use hexagonal architecture and implement interfaces for services and repositories.
Controllers are being splited into commands to better dependency management.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-06 08:17:34 +02:00