-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further separate the data access details from the Core layer (#213)
* Rebranding IUserProfileClient -> IUserProfileRepository * Rebrand IUnitProfileClient -> IUnitProfileRepository * Structuring Unit and User profile repositories under Integrations.SblBridge * Extract UserRegisteredContactPoint to separate class * Improve readability of running instruction * Add newline to better separate Altinn refs from other references * Remove trace of the Client abstraction in private class field
- Loading branch information
Showing
14 changed files
with
67 additions
and
64 deletions.
There are no files selected for viewing
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
4 changes: 2 additions & 2 deletions
4
...e.Core/Integrations/IUnitProfileClient.cs → ...re/Integrations/IUnitProfileRepository.cs
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
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
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
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
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
10 changes: 4 additions & 6 deletions
10
...tegrations/SblBridge/UnitProfileClient.cs → ...lBridge/Unit.Profile/UnitProfileClient.cs
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
26 changes: 26 additions & 0 deletions
26
src/Altinn.Profile.Integrations/SblBridge/Unit.Profile/UserRegisteredContactPoint.cs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
namespace Altinn.Profile.Integrations.SblBridge.Unit.Profile | ||
{ | ||
/// <summary> | ||
/// Model describing the contact information that a user has associated with a party they can represent. | ||
/// </summary> | ||
public class UserRegisteredContactPoint | ||
{ | ||
/// <summary> | ||
/// Gets or sets the legacy user id for the owner of this party notification endpoint. | ||
/// </summary> | ||
/// <remarks> | ||
/// This was named as legacy for consistency. Property for UUID will probably never be added. | ||
/// </remarks> | ||
public int LegacyUserId { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the email address for this contact point. | ||
/// </summary> | ||
public string Email { get; set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// Gets or sets the mobile number for this contact point. | ||
/// </summary> | ||
public string MobileNumber { get; set; } = string.Empty; | ||
} | ||
} |
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
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
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
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
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
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