mirror of
https://github.com/hanzoai/jube-fork.git
synced 2026-10-30 18:33:33 +00:00
* Updated documentation to include Inline Script events and Activation Rule Chaining concepts. * Included Activation Rules in Activation Completions to make them available. * Modified activation rule signatures to include match keys for facilitation. * Updated Gateway Rule Priority to support double type, including changes in migrations and POCOs. * Updated tree to ensure entities are listed by Priority when Priority exists in the entity. * Included Priority in Activation Rule user interface, POCOs, and migrations; ensured invocation and synchronization preserve order for evaluation sequence to support rule chaining. * Updated completions to support Activation Rules and Activation Rule chaining. * Improved delegate compilation to avoid reflection during invocation; delegates are now compiled during synchronization, eliminating reflection usage during invocation for real-time processing. * Created event attributes to direct matching of Inline Scripts, including matching properties given event context (to restrict to a single Activation Rule, for example). * Separated ExecuteAsync attributes from property attributes in the solution for better organization. * Mapped Inline Script property and method attributes during synchronization to avoid reflection during invocation. * Removed parallel for loops and locks in Activation Rule processing to support chaining. * Modified reflection wrapper for Inline Scripts to eliminate reflection by compiling delegates during synchronization. * Minor refactoring and variable renaming. * Updated Inline Script interface to mandate bool return value in ExecuteAsync method. * Updated rule parser to support evaluation of exists activation rule match for chaining support. * Updated sandbox code for new Inline Script format. * Corrected some spelling in documentation.
45 lines
1.9 KiB
C#
45 lines
1.9 KiB
C#
/* Copyright (C) 2022-present Jube Holdings Limited.
|
|
*
|
|
* This file is part of Jube™ software.
|
|
*
|
|
* Jube™ is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License
|
|
* as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
|
* Jube™ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
|
|
|
|
* You should have received a copy of the GNU Affero General Public License along with Jube™. If not,
|
|
* see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
using System;
|
|
using Jube.App.Dto.Interfaces;
|
|
|
|
namespace Jube.App.Dto
|
|
{
|
|
public class EntityAnalysisModelGatewayRuleDto : IUpdated
|
|
{
|
|
public int EntityAnalysisModelId { get; set; }
|
|
public double Priority { get; set; }
|
|
public string BuilderRuleScript { get; set; }
|
|
public string Json { get; set; }
|
|
public string Name { get; set; }
|
|
public string Description { get; set; }
|
|
public int MaxResponseElevation { get; set; }
|
|
public bool Active { get; set; }
|
|
public bool Locked { get; set; }
|
|
public bool ResponsePayload { get; set; }
|
|
public int RuleScriptTypeId { get; set; }
|
|
public string CoderRuleScript { get; set; }
|
|
public double GatewaySample { get; set; }
|
|
public int ActivationCounter { get; set; }
|
|
public DateTime ActivationCounterDate { get; set; }
|
|
public int Id { get; set; }
|
|
public string CreatedUser { get; set; }
|
|
public DateTime CreatedDate { get; set; }
|
|
public string UpdatedUser { get; set; }
|
|
public DateTime UpdatedDate { get; set; }
|
|
public int Version { get; set; }
|
|
public string DeletedUser { get; set; }
|
|
public DateTime DeletedDate { get; set; }
|
|
}
|
|
} |