-
Notifications
You must be signed in to change notification settings - Fork 849
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VCST-1550: Remove obsolete code, fix warnings and vulnerabilities (#2828
- Loading branch information
1 parent
32a05dd
commit 7548397
Showing
93 changed files
with
366 additions
and
4,692 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
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
5 changes: 0 additions & 5 deletions
5
src/VirtoCommerce.Platform.Caching/Redis/RedisCachingOptions.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,7 @@ | ||
using System; | ||
|
||
namespace VirtoCommerce.Platform.Redis | ||
{ | ||
public class RedisCachingOptions | ||
{ | ||
public string ChannelName { get; set; } | ||
|
||
[Obsolete("Use Redis connection string parameters for retry policy configration")] | ||
public int BusRetryCount { get; set; } = 3; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,16 @@ | ||
using System; | ||
|
||
namespace VirtoCommerce.Platform.Core.Common | ||
{ | ||
public static class MigrationName | ||
{ | ||
/// <summary> | ||
/// It's important thing of naming for correct migration to v.3 | ||
/// The migration of update from v.2 should be apply at the first | ||
/// The migration from v.2 should be applied first | ||
/// </summary> | ||
/// <param name="moduleName"></param> | ||
/// <returns>20000000000000_UpdateModuleNameV2</returns> | ||
public static string GetUpdateV2MigrationName(string moduleName) | ||
{ | ||
return $"20000000000000_Update{moduleName.Replace(".", "").Replace("VirtoCommerce", "")}V2"; | ||
} | ||
|
||
[Obsolete("use GetUpdateV2MigrationName")] | ||
public static string GetUpdateV2MigrationNameByOwnerName(string moduleName, string ownerName) | ||
{ | ||
return GetUpdateV2MigrationName(moduleName); | ||
} | ||
} | ||
} |
4 changes: 0 additions & 4 deletions
4
...oCommerce.Platform.Core/DynamicProperties/IDynamicPropertyDictionaryItemsSearchService.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,8 @@ | ||
using System; | ||
using System.Threading.Tasks; | ||
using VirtoCommerce.Platform.Core.GenericCrud; | ||
|
||
namespace VirtoCommerce.Platform.Core.DynamicProperties | ||
{ | ||
public interface IDynamicPropertyDictionaryItemsSearchService : ISearchService<DynamicPropertyDictionaryItemSearchCriteria, DynamicPropertyDictionaryItemSearchResult, DynamicPropertyDictionaryItem> | ||
{ | ||
[Obsolete("Use SearchAsync()", DiagnosticId = "VC0005", UrlFormat = "https://docs.virtocommerce.org/products/products-virto3-versions/")] | ||
Task<DynamicPropertyDictionaryItemSearchResult> SearchDictionaryItemsAsync(DynamicPropertyDictionaryItemSearchCriteria criteria); | ||
} | ||
} |
4 changes: 0 additions & 4 deletions
4
src/VirtoCommerce.Platform.Core/DynamicProperties/IDynamicPropertySearchService.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,8 @@ | ||
using System; | ||
using System.Threading.Tasks; | ||
using VirtoCommerce.Platform.Core.GenericCrud; | ||
|
||
namespace VirtoCommerce.Platform.Core.DynamicProperties | ||
{ | ||
public interface IDynamicPropertySearchService : ISearchService<DynamicPropertySearchCriteria, DynamicPropertySearchResult, DynamicProperty> | ||
{ | ||
[Obsolete("Use SearchAsync()", DiagnosticId = "VC0005", UrlFormat = "https://docs.virtocommerce.org/products/products-virto3-versions/")] | ||
Task<DynamicPropertySearchResult> SearchDynamicPropertiesAsync(DynamicPropertySearchCriteria criteria); | ||
} | ||
} |
13 changes: 0 additions & 13 deletions
13
src/VirtoCommerce.Platform.Core/Exceptions/SettingsTypeNotRegisteredException.cs
This file was deleted.
Oops, something went wrong.
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
13 changes: 0 additions & 13 deletions
13
src/VirtoCommerce.Platform.Core/Notifications/DefaultEmailSender.cs
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/VirtoCommerce.Platform.Core/Notifications/IEmailSender.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.