modelRT/handler
douxu 42956d1793 feat: add dedicated message-exchange for task lifecycle notifications
- add constants/message.go with MessageTask* categories and message-exchange /
    message-queue / dead-letter routing constants
  - add mq/publish_message.go with PushMessageToRabbitMQ (confirm mode,
    dead-letter queue) separate from the existing event-exchange publisher
  - add mq/emit.go with TryEmitMessage for non-blocking, OTel-traced dispatch
  - add mq/event/task_event_gen.go with NewTaskSubmitted/Running/Completed/
    Failed/CancelledMessage constructors
  - wire TryEmitMessage into task worker and create/cancel handlers so all 5
    lifecycle transitions are published (previously task.* routed to
    event-exchange with no matching binding, causing silent drops)
  - harden Dockerfile: scratch final image, pinned alpine:3.21 certs stage,
    apk upgrade in builder, add -trimpath -mod=readonly go build flags
  - add full K8s manifests under deploy/k8s/ for Redis, RabbitMQ (mTLS),
    ModelRT (Downward API, scratch image, readOnlyRootFilesystem), Jaeger,
    Loki, Promtail, Grafana
  - expand deploy.md with async_task SQL schema, TLS cert generation steps,
    K8s deployment procedures, and SSH tunnel configuration
2026-05-13 16:58:36 +08:00
..
alert_event_query.go optimzie code organization structure of rabbitmq event 2026-02-25 17:14:25 +08:00
anchor_point_replace.go optimize variable naming and optimize real time data computing api 2025-11-12 17:34:18 +08:00
async_task_cancel_handler.go feat: add dedicated message-exchange for task lifecycle notifications 2026-05-13 16:58:36 +08:00
async_task_create_handler.go feat: add dedicated message-exchange for task lifecycle notifications 2026-05-13 16:58:36 +08:00
async_task_progress_update_handler.go refactor: rename TaskParams to Params and remove debug prints 2026-04-28 17:41:28 +08:00
async_task_result_detail_handler.go refactor: rename TaskParams to Params and remove debug prints 2026-04-28 17:41:28 +08:00
async_task_result_query_handler.go refactor: rename TaskParams to Params and remove debug prints 2026-04-28 17:41:28 +08:00
async_task_status_update_handler.go refactor: rename TaskParams to Params and remove debug prints 2026-04-28 17:41:28 +08:00
attr_delete.go optimize struct of rabbitmq event 2026-03-02 17:00:09 +08:00
attr_load.go optimize struct of rabbitmq event 2026-03-02 17:00:09 +08:00
attr_update.go optimize struct of rabbitmq event 2026-03-02 17:00:09 +08:00
circuit_diagram_create.go optimize variable naming and optimize real time data computing api 2025-11-12 17:34:18 +08:00
circuit_diagram_delete.go optimize variable naming and optimize real time data computing api 2025-11-12 17:34:18 +08:00
circuit_diagram_load.go optimize variable naming and optimize real time data computing api 2025-11-12 17:34:18 +08:00
circuit_diagram_update.go optimize variable naming and optimize real time data computing api 2025-11-12 17:34:18 +08:00
component_attribute_query.go optimize code of judge wether success or failed return content 2026-01-19 16:39:35 +08:00
component_attribute_update.go optimize code of judge wether success or failed return content 2026-01-19 16:39:35 +08:00
diagram_node_link.go optimize struct of rabbitmq event 2026-03-02 17:00:09 +08:00
helper.go optimize code of real time data pull api 2026-01-28 14:03:25 +08:00
history_data_query.go optimzie code organization structure of rabbitmq event 2026-02-25 17:14:25 +08:00
measurement_load.go optimize struct of rabbitmq event 2026-03-02 17:00:09 +08:00
measurement_recommend.go optimize code of sql struct and measurement node recommend api 2025-12-19 17:33:12 +08:00
mesurement_link.go optimize struct of rabbitmq event 2026-03-02 17:00:09 +08:00
real_time_data_pull.go optimize code of push event alarm func 2026-02-03 17:05:32 +08:00
real_time_data_query.go optimize code of push event alarm func 2026-02-03 17:05:32 +08:00
real_time_data_receive.go refactor(orm/circuit_diagram_component): fix compilation issues caused by structure field changes 2025-08-15 16:25:48 +08:00
real_time_data_subscription.go optimize struct of rabbitmq event 2026-03-02 17:00:09 +08:00