feat: add scoped history and artifacts
Generic Container CI/CD / test-build-publish (push) Failing after 8m25s
Agent CI/CD / build-test-publish-and-deploy (push) Failing after 8m25s

This commit is contained in:
2026-10-22 18:40:20 +08:00
parent bc4e9834e5
commit 7d47a2df86
48 changed files with 2632 additions and 78 deletions
+326 -15
View File
@@ -3318,8 +3318,8 @@ export interface paths {
get?: never;
put?: never;
/**
* Search Fengxian places
* @description 调用天地图地名搜索,固定上海市奉贤区范围,只返回前 10 个可定位候选,不提供分页。
* Search project places
* @description 调用天地图地名搜索,按当前项目 map_config.place_search 的行政区范围,只返回前 10 个可定位候选,不提供分页。
*/
post: operations["post_place_search_requests"];
delete?: never;
@@ -3918,6 +3918,26 @@ export interface paths {
patch: operations["patch_reservoirs_y"];
trace?: never;
};
"/api/v1/reverse-geocoding-requests": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Reverse geocode a project map point
* @description 查询 EPSG:4326 地图取点的地名和地址,复用当前项目的地名搜索配置并保留输入坐标。
*/
post: operations["post_reverse_geocoding_requests"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/api/v1/rule-properties": {
parameters: {
query?: never;
@@ -5056,6 +5076,26 @@ export interface paths {
patch?: never;
trace?: never;
};
"/api/v1/timeseries/scada-readings/latest": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* 获取SCADA设备最新数据
* @description Read one latest persisted row per project device without applying a time window.
*/
get: operations["get_timeseries_scada_readings_latest"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/api/v1/timeseries/scada-readings/{device_id}/field": {
parameters: {
query?: never;
@@ -5687,6 +5727,7 @@ export interface components {
description?: string | null;
/** Gs Workspace */
gs_workspace: string;
map_config?: components["schemas"]["ProjectMapConfig"];
/** Map Extent */
map_extent?: {
[key: string]: unknown;
@@ -5713,6 +5754,7 @@ export interface components {
description?: string | null;
/** Gs Workspace */
gs_workspace: string;
map_config?: components["schemas"]["ProjectMapConfig"];
/** Map Extent */
map_extent?: {
[key: string]: unknown;
@@ -5740,6 +5782,7 @@ export interface components {
description?: string | null;
/** Gs Workspace */
gs_workspace?: string | null;
map_config?: components["schemas"]["ProjectMapConfig"] | null;
/** Map Extent */
map_extent?: {
[key: string]: unknown;
@@ -5992,6 +6035,39 @@ export interface components {
selected_report?: components["schemas"]["InvestigationReportRevision"] | null;
task: components["schemas"]["OperationalTaskDetail"];
};
/** AnswerUiBlock */
AnswerUiBlock: {
/** Block Id */
block_id: string;
/** Fallback Text */
fallback_text: string;
spec: components["schemas"]["AnswerUiSpec"];
/**
* Version
* @constant
*/
version: "answer-ui@1";
};
/** AnswerUiElement */
AnswerUiElement: {
/** Children */
children: string[];
/** Props */
props: {
[key: string]: unknown;
};
/** Type */
type: string;
};
/** AnswerUiSpec */
AnswerUiSpec: {
/** Elements */
elements: {
[key: string]: components["schemas"]["AnswerUiElement"];
};
/** Root */
root: string;
};
/**
* AuditLogResponse
* @description 审计日志响应
@@ -6914,6 +6990,8 @@ export interface components {
stop_reason?: string | null;
/** Title */
title: string;
/** Ui Blocks */
ui_blocks?: components["schemas"]["ReportUiBlock"][];
};
/**
* InvestigationReportInput
@@ -6947,6 +7025,8 @@ export interface components {
stop_reason?: string | null;
/** Title */
title: string;
/** Ui Blocks */
ui_blocks?: components["schemas"]["ReportUiBlock"][];
};
/** InvestigationReportPage */
InvestigationReportPage: {
@@ -7759,18 +7839,32 @@ export interface components {
/** Total */
total: number;
};
/** PlaceSearchConfig */
PlaceSearchConfig: {
/** Admin Code */
admin_code: string;
/**
* Enabled
* @default false
*/
enabled: boolean;
/**
* Provider
* @default tianditu
* @constant
*/
provider: "tianditu";
/** Region */
region: string;
};
/** PlaceSearchItem */
PlaceSearchItem: {
/** Address */
address: string;
/** Category */
category?: string | null;
/**
* District
* @default 奉贤区
* @constant
*/
district: "奉贤区";
/** District */
district: string;
/** Id */
id: string;
/** Latitude */
@@ -7789,12 +7883,8 @@ export interface components {
PlaceSearchResponse: {
/** Items */
items: components["schemas"]["PlaceSearchItem"][];
/**
* Region
* @default 奉贤区
* @constant
*/
region: "奉贤区";
/** Region */
region: string;
/** Total */
total: number;
/**
@@ -7938,6 +8028,12 @@ export interface components {
*/
pool_min_size: number;
};
/** ProjectMapConfig */
ProjectMapConfig: {
place_search?: components["schemas"]["PlaceSearchConfig"] | null;
} & {
[key: string]: unknown;
};
/** ProjectMemberCreateRequest */
ProjectMemberCreateRequest: {
/**
@@ -7994,6 +8090,7 @@ export interface components {
description?: string | null;
/** Gs Workspace */
gs_workspace: string;
map_config?: components["schemas"]["ProjectMapConfig"];
/** Map Extent */
map_extent?: {
[key: string]: unknown;
@@ -8110,6 +8207,19 @@ export interface components {
/** Task Ids */
task_ids: string[];
};
/** ReportUiBlock */
ReportUiBlock: {
block: components["schemas"]["AnswerUiBlock"];
/** Evidence Refs */
evidence_refs: string[];
};
/** ReverseGeocodingRequest */
ReverseGeocodingRequest: {
/** Latitude */
latitude: number;
/** Longitude */
longitude: number;
};
/** RunSimulationManuallyByDateRest */
RunSimulationManuallyByDateRest: {
/**
@@ -8155,6 +8265,46 @@ export interface components {
/** Y */
y?: number | null;
};
/**
* ScadaLatestReadingResponse
* @description Latest persisted observation for one project SCADA device.
*/
ScadaLatestReadingResponse: {
/** Cleaned Value */
cleaned_value?: number | null;
/** Device Id */
device_id: string;
/** Device Type */
device_type: string;
/** Measurement Unit */
measurement_unit: string;
/** Monitored Value */
monitored_value?: number | null;
/** Observed At */
observed_at?: string | null;
/** Transmission Frequency */
transmission_frequency: string;
/** Transmission Mode */
transmission_mode: string;
};
/**
* ScadaLatestReadingsResponse
* @description Bounded device page with each device's latest persisted observation.
*/
ScadaLatestReadingsResponse: {
/** Items */
items: components["schemas"]["ScadaLatestReadingResponse"][];
/** Latest Observed At */
latest_observed_at?: string | null;
/** Limit */
limit: number;
/** Observed Count */
observed_count: number;
/** Offset */
offset: number;
/** Total */
total: number;
};
/** ScadaReadingBatchItem */
ScadaReadingBatchItem: {
/** Cleaned Value */
@@ -8494,7 +8644,7 @@ export interface components {
*/
queried_at: string;
/** Source */
source: ("workbench_runtime" | "scada_devices" | "scada_readings" | "peripheral_points" | "peripheral_work_orders" | "peripheral_observations" | "peripheral_test_data") | ("run_simulation" | "run_contaminant_simulation" | "analyze_valve_closure" | "analyze_flushing" | "analyze_pressure_regulation" | "optimize_sensor_placement" | "run_burst_detection" | "run_burst_location" | "analyze_valve_isolation" | "run_leakage_identification" | "get_element_properties" | "list_elements" | "get_network_options" | "get_network_schema" | "list_scada_devices" | "get_scada_device" | "query_scada_readings" | "query_model_baseline_series" | "get_model_baseline_at_time" | "query_model_baseline_field" | "query_analysis_series" | "query_analysis_values" | "list_analysis_runs" | "get_analysis_run" | "list_analysis_results" | "list_sensor_placement_runs" | "get_sensor_placement_run" | "query_element_history" | "get_element_gis_properties" | "get_source_gis_properties" | "get_workbench_runtime" | "get_task_context" | "query_peripheral_data" | "get_task_evidence");
source: ("workbench_runtime" | "scada_devices" | "scada_readings" | "peripheral_points" | "peripheral_work_orders" | "peripheral_observations" | "peripheral_test_data") | ("get_mutation_status" | "query_nearby_elements" | "list_regions" | "get_region" | "get_region_nodes" | "get_node_connections" | "query_network_extent" | "list_major_nodes" | "get_model_configuration" | "list_model_configurations" | "search_project_places" | "reverse_geocode" | "get_project_info" | "export_project_model" | "get_sensor_placement_candidate" | "export_sensor_placement" | "list_task_schedules" | "get_task_run_history" | "calculate_demand_allocation" | "run_burst_simulation" | "edit_model_element" | "edit_model_configuration" | "clean_scada_readings" | "write_scada_readings" | "delete_scada_readings" | "save_simulation_scenario" | "create_sensor_placement" | "update_sensor_placement" | "create_operational_task" | "create_task_schedule" | "update_task_schedule" | "retry_operational_task" | "cancel_task_run" | "run_simulation" | "run_contaminant_simulation" | "analyze_valve_closure" | "analyze_flushing" | "analyze_pressure_regulation" | "optimize_sensor_placement" | "run_burst_detection" | "run_burst_location" | "analyze_valve_isolation" | "run_leakage_identification" | "get_element_properties" | "list_elements" | "get_network_options" | "get_network_schema" | "list_scada_devices" | "get_scada_device" | "query_scada_readings" | "query_model_baseline_series" | "get_model_baseline_at_time" | "query_model_baseline_field" | "query_analysis_series" | "query_analysis_values" | "list_analysis_runs" | "get_analysis_run" | "list_analysis_results" | "list_sensor_placement_runs" | "get_sensor_placement_run" | "query_element_history" | "get_element_gis_properties" | "get_source_gis_properties" | "get_workbench_runtime" | "get_task_context" | "query_peripheral_data" | "get_task_evidence");
/** Source Ref */
source_ref: string;
/** Truncated */
@@ -29690,6 +29840,86 @@ export interface operations {
};
};
};
post_reverse_geocoding_requests: {
parameters: {
query?: never;
header: {
"X-Project-Id": string;
};
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": components["schemas"]["ReverseGeocodingRequest"];
};
};
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["PlaceSearchItem"];
};
};
/** @description Authentication required */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ProblemDetails"];
};
};
/** @description Insufficient permission */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ProblemDetails"];
};
};
/** @description Resource not found */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ProblemDetails"];
};
};
/** @description Resource conflict */
409: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ProblemDetails"];
};
};
/** @description Validation error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ProblemDetails"];
};
};
/** @description Dependency unavailable */
503: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ProblemDetails"];
};
};
};
};
get_rule_properties: {
parameters: {
query?: never;
@@ -35600,6 +35830,87 @@ export interface operations {
};
};
};
get_timeseries_scada_readings_latest: {
parameters: {
query?: {
/** @description 返回设备数上限 */
limit?: number;
/** @description 设备目录偏移量 */
offset?: number;
};
header: {
"X-Project-Id": string;
};
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ScadaLatestReadingsResponse"];
};
};
/** @description Authentication required */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ProblemDetails"];
};
};
/** @description Insufficient permission */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ProblemDetails"];
};
};
/** @description Resource not found */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ProblemDetails"];
};
};
/** @description Resource conflict */
409: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ProblemDetails"];
};
};
/** @description Validation error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ProblemDetails"];
};
};
/** @description Dependency unavailable */
503: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ProblemDetails"];
};
};
};
};
patch_timeseries_scada_readings_device_id_field: {
parameters: {
query: {