|
|
@ -66,7 +66,7 @@ namespace Squidex.Domain.Apps.Core.HandleRules.Actions |
|
|
{ |
|
|
{ |
|
|
case ContentCreated created: |
|
|
case ContentCreated created: |
|
|
{ |
|
|
{ |
|
|
ruleDescription = $"Add entry to ElasticSearch index: {action.IndexName}"; |
|
|
ruleDescription = $"Add entry to ES index: {action.IndexName}"; |
|
|
|
|
|
|
|
|
ruleData["Operation"] = "Create"; |
|
|
ruleData["Operation"] = "Create"; |
|
|
ruleData["Content"] = new JObject( |
|
|
ruleData["Content"] = new JObject( |
|
|
@ -82,7 +82,7 @@ namespace Squidex.Domain.Apps.Core.HandleRules.Actions |
|
|
|
|
|
|
|
|
case ContentUpdated updated: |
|
|
case ContentUpdated updated: |
|
|
{ |
|
|
{ |
|
|
ruleDescription = $"Update entry in ElasticSearch index: {action.IndexName}"; |
|
|
ruleDescription = $"Update entry in ES index: {action.IndexName}"; |
|
|
|
|
|
|
|
|
ruleData["Operation"] = "Update"; |
|
|
ruleData["Operation"] = "Update"; |
|
|
ruleData["Content"] = new JObject( |
|
|
ruleData["Content"] = new JObject( |
|
|
@ -94,7 +94,7 @@ namespace Squidex.Domain.Apps.Core.HandleRules.Actions |
|
|
|
|
|
|
|
|
case ContentStatusChanged statusChanged: |
|
|
case ContentStatusChanged statusChanged: |
|
|
{ |
|
|
{ |
|
|
ruleDescription = $"Update entry in ElasticSearch index: {action.IndexName}"; |
|
|
ruleDescription = $"Update entry in ES index: {action.IndexName}"; |
|
|
|
|
|
|
|
|
ruleData["Operation"] = "Update"; |
|
|
ruleData["Operation"] = "Update"; |
|
|
ruleData["Content"] = new JObject( |
|
|
ruleData["Content"] = new JObject( |
|
|
@ -106,7 +106,7 @@ namespace Squidex.Domain.Apps.Core.HandleRules.Actions |
|
|
|
|
|
|
|
|
case ContentDeleted deleted: |
|
|
case ContentDeleted deleted: |
|
|
{ |
|
|
{ |
|
|
ruleDescription = $"Delete entry from Index: {action.IndexName}"; |
|
|
ruleDescription = $"Delete entry from ES index: {action.IndexName}"; |
|
|
|
|
|
|
|
|
ruleData["Operation"] = "Delete"; |
|
|
ruleData["Operation"] = "Delete"; |
|
|
ruleData["Content"] = new JObject(); |
|
|
ruleData["Content"] = new JObject(); |
|
|
|