-
Notifications
You must be signed in to change notification settings - Fork 60
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
Add AccountsDatasource
#1654
Merged
Merged
Add AccountsDatasource
#1654
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pull Request Test Coverage Report for Build 9515108778Details
💛 - Coveralls |
We're going to merge this into #1652 before |
Pull Request Test Coverage Report for Build 9517751552Details
💛 - Coveralls |
iamacook
added a commit
that referenced
this pull request
Jun 14, 2024
Replaces the current account/subscription integration, as well as their integration with alerts and emails with a new simple account basis (#1654) for fortchoming features: Note: #1654 was merged into this commit before `main` in order to prevent duplicated old tables. #1652: - Remove account datasource - Remove test datasource from tests - Remove account domain - Remove subscription domain - Decouple account/subscription integration from alerts: - Remove business logic - Remove redundant code - Remove relative test logic and skip those eventually required #1654: - Create `00001_accounts` migration to create database - Create `Account` entity with test coverage - Create `Group` entity with test coverage - Create `IAccountsDatasource` with implementation and test override
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This adds a new datasource for accounts, implementing a basic database with tables for
accounts
and `groups:accounts
are address specific and containt anid
,group_id
andaddress
columngroups
are will be for defining "shared" accounts, currently only having anid
Leveraging the database is the
IAccountsDatasource
, containing two methods:createAccount
andgetAccount
.Changes
00001_accounts
migration to create databaseAccount
entity with test coverageGroup
entity with test coverageIAccountsDatasource
with implementation and test override