-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Added property ProviderStatus in WorkshopDTO and mapping for it from Workshop model * Added propperty ProviderStatus to WorkshopES model * Added term query for ProviderStatus in ESWorkshopProvider * Added Recheck to ProviderStatus enum * Added check if the ProbiderStatus is Recheck in PredicateBuild method in WorkshopService * Added check if the ProviderStatus is Recheck in CreateQueryFromFilter method in ESWorkshopProvider * Replaced Panding provider status into Recheck in GetNotificationsRecipientIds method in ProviderService. Created and added method GetRegionAdminsIds * Added mocks of IRegionAdminRepository in integration and unit tests for ProviderService * Fixed ProviderServiceTests for new enum item Recheck * Deleted unnecessary comments from method GetNotificationsRecipientIds in ProviderService * Fixed additional enter before test name * Fixed WorkshopService after rebase develop * Moved enum ProviderStatus to Common project * Changed namespace of ProviderStutus * Added EnumDataType attribute for ProviderStatus property in WorkshopDTO * Fixed method GetRegionAdminsIds in ProviderService * Added synchronization with Elasticsearch for UpdateStatus method in ProviderService * Added synchronization with Elasticsearch for UpdateProviderWithActionBeforeSavingChanges method in ProviderService if ProviderStatus was changed
- Loading branch information
1 parent
dac6ec7
commit f511bf2
Showing
14 changed files
with
96 additions
and
23 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
...School.DataAccess/Enums/ProviderStatus.cs → ...utOfSchool.Common/Enums/ProviderStatus.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 |
---|---|---|
@@ -1,12 +1,13 @@ | ||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Converters; | ||
|
||
namespace OutOfSchool.Services.Enums; | ||
namespace OutOfSchool.Common.Enums; | ||
|
||
[JsonConverter(typeof(StringEnumConverter))] | ||
public enum ProviderStatus | ||
{ | ||
Pending, | ||
Editing, | ||
Approved, | ||
Recheck, | ||
} |
1 change: 1 addition & 0 deletions
1
OutOfSchool/OutOfSchool.DataAccess/Models/Configurations/ProviderConfiguration.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
1 change: 1 addition & 0 deletions
1
OutOfSchool/OutOfSchool.WebApi/Models/Providers/ProviderFilter.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
2 changes: 1 addition & 1 deletion
2
OutOfSchool/OutOfSchool.WebApi/Models/Providers/ProviderStatusDto.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
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