Rubén D
29f4d10a85
chore: Use array access instead of object
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-16 15:39:28 +02:00
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
7f986f17ef
chore: Add tests for AccountSearchService
...
AccountSearchService has been split into multiple classes for better testeability.
Accounts' DTOs have been moved to domain
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-03 21:01:32 +01:00
Rubén D
78ad705aee
fix: Wrong arguments for DTO
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-27 18:27:04 +01:00
Rubén D
930b1f7139
chore: Create AccountCryptService tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-27 16:01:51 +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
07437ffda0
chore: Create AccountAdapter tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-26 13:04:38 +01:00
Rubén D
796ecbc5fb
chore: Implement AccountAclService tests.
...
Use scoped namespace for simple functions.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-25 23:40:27 +01:00
Rubén D
caa5571b20
chore: Implement AccountToUserRepository tests.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-20 17:43:49 +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
e849c9d521
chore: Reformat code
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-20 12:56:00 +01:00
Rubén D
de9d500d85
chore: Create AccountToTagRepository tests
...
A RepositoryInterface is added to expose transactionAware method to the service.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-20 11:46:11 +01:00
Rubén D
055a1bd4b5
chore: Fix interface implementation
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-19 11:15:25 +01:00
Rubén D
fde6e60bd1
chore: Fix tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-05 19:34:56 +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
de06ff5b0f
chore: Move account data models and unit test for account repository.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-07-02 18:01:56 +02: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