-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change approach to reset cache (#629)
feat: change approach to reset cache - added Controller for WebHook. feat: Updated Application Insights. fix: Update solution to Visual Studio Version 17 and other project infromation.
- Loading branch information
Showing
6 changed files
with
68 additions
and
13 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
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace VirtoCommerce.Storefront.Models | ||
{ | ||
/// <summary> | ||
/// Cache Event Model For Web Hook from Virto Commmerce Platform | ||
/// </summary> | ||
public class ResetCacheEventModel | ||
{ | ||
public string EventId { get; set; } | ||
|
||
public ResetCacheEventBodyModel[] EventBody { get; set; } | ||
} | ||
|
||
public class ResetCacheEventBodyModel | ||
{ | ||
public string ObjectType { get; set; } | ||
|
||
public string Id { get; set; } | ||
|
||
public string Path { get; set; } | ||
|
||
public string Type { get; set; } | ||
} | ||
} |
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