|
|
@@ -70,14 +70,12 @@ public class AdoS8ConfigDraftDetailDto : AdoS8ConfigDraftListItemDto
|
|
|
public string WizardJson { get; set; } = string.Empty;
|
|
|
}
|
|
|
|
|
|
+/// <summary>
|
|
|
+/// CONFIG-WIZARD-API-RULEPAYLOAD-CLEANUP-1:generate-rule 请求体已收口为 {};
|
|
|
+/// 规则始终由后端基于 draft.wizard_json + 字典重建,不再接受前端构造的 RulePayload。
|
|
|
+/// </summary>
|
|
|
public class AdoS8ConfigDraftGenerateRuleDto
|
|
|
{
|
|
|
- /// <summary>
|
|
|
- /// 兼容模式(CONFIG-WIZARD-GENERATE-RULE-SERVER-BUILD-1):
|
|
|
- /// - 非空:沿用旧路径,直接信任前端构造好的 watch_rule payload。
|
|
|
- /// - null/缺省:后端基于 draft.wizard_json + 字典(monitor_object/metric, exception_type, data_source, scene_config)重建。
|
|
|
- /// </summary>
|
|
|
- public AdoS8WatchRule? RulePayload { get; set; }
|
|
|
}
|
|
|
|
|
|
public class AdoS8ConfigDraftGenerateRuleResultDto
|