From a43628de20cf47424e7ddec860f31113d4598091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=B6=9B?= Date: Sat, 5 Sep 2026 18:39:25 +0800 Subject: [PATCH 1/2] release: prepare base-sysadmin 1.1.3 --- .github/workflows/docker_publish.yml | 6 ++++-- pom.xml | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker_publish.yml b/.github/workflows/docker_publish.yml index b1c5626..5656c31 100644 --- a/.github/workflows/docker_publish.yml +++ b/.github/workflows/docker_publish.yml @@ -45,6 +45,7 @@ jobs: uses: actions/checkout@v7.0.1 with: repository: opensabre/opensabre-framework + ref: v1.1.3 path: opensabre-framework - name: Set up JDK @@ -54,7 +55,7 @@ jobs: distribution: 'temurin' cache: maven - - name: Install OpenSabre Framework Snapshot + - name: Install OpenSabre Framework 1.1.3 run: mvn --batch-mode --no-transfer-progress -f opensabre-framework/pom.xml -DskipTests install - name: Run Tests @@ -87,6 +88,7 @@ jobs: uses: actions/checkout@v7.0.1 with: repository: opensabre/opensabre-framework + ref: v1.1.3 path: opensabre-framework - name: Set up JDK @@ -96,7 +98,7 @@ jobs: distribution: 'temurin' cache: maven - - name: Install OpenSabre Framework Snapshot + - name: Install OpenSabre Framework 1.1.3 run: mvn --batch-mode --no-transfer-progress -f opensabre-framework/pom.xml -DskipTests install - name: Resolve image tags diff --git a/pom.xml b/pom.xml index 72acd02..6c917fc 100644 --- a/pom.xml +++ b/pom.xml @@ -7,11 +7,11 @@ opensabre-base-dependencies io.github.opensabre - 1.1.3-SNAPSHOT + 1.1.3 base-sysadmin - 1.1.2 + 1.1.3 jar base-sysadmin From 00a8283011aefe3333df7163000ce4469671dc8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=B6=9B?= Date: Mon, 7 Sep 2026 21:07:34 +0800 Subject: [PATCH 2/2] fix: seed IQC DLS import rate limit scene --- ...__seed_iqc_dls_import_rate_limit_scene.sql | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/main/resources/db/migration/mysql/history/V20260907_01__seed_iqc_dls_import_rate_limit_scene.sql diff --git a/src/main/resources/db/migration/mysql/history/V20260907_01__seed_iqc_dls_import_rate_limit_scene.sql b/src/main/resources/db/migration/mysql/history/V20260907_01__seed_iqc_dls_import_rate_limit_scene.sql new file mode 100644 index 0000000..0ca6bd1 --- /dev/null +++ b/src/main/resources/db/migration/mysql/history/V20260907_01__seed_iqc_dls_import_rate_limit_scene.sql @@ -0,0 +1,33 @@ +SET NAMES utf8mb4; + +-- QualityConfigController declares this scene for DLS workbook preview/import. +INSERT INTO base_sys_ratelimit_scene + (id, scene_code, scene_name, algorithm, dimensions, key_prefix, max_count, period, + enabled, description, created_by, updated_by) +VALUES + ('RL_IQC_DLS_IMPORT', 'iqc-dls-rule-import', 'IQC DLS 规则导入', 'COUNTER', 'IP', + 'iqc-dls-rule-import', 10, 60, 1, 'DLS XLSX 规则预检与导入限次', 'system', 'system') +ON DUPLICATE KEY UPDATE scene_name = VALUES(scene_name), + algorithm = VALUES(algorithm), + dimensions = VALUES(dimensions), + key_prefix = VALUES(key_prefix), + max_count = VALUES(max_count), + period = VALUES(period), + enabled = VALUES(enabled), + description = VALUES(description), + updated_time = CURRENT_TIMESTAMP(3), + updated_by = VALUES(updated_by); + +INSERT INTO base_sys_usage_scene + (id, object_type, object_id, usage_event, scene_name, source_app, enabled, + description, created_by, updated_by) +VALUES + (REPLACE(UUID(), '-', ''), 'RATE_LIMIT_SCENE', 'iqc-dls-rule-import', + 'RATE_LIMIT_CHECK', 'IQC DLS 规则导入限次检查', 'iqc-platform', 1, + 'DLS XLSX 规则预检与导入限次', 'system', 'system') +ON DUPLICATE KEY UPDATE scene_name = VALUES(scene_name), + source_app = VALUES(source_app), + enabled = VALUES(enabled), + description = VALUES(description), + updated_time = CURRENT_TIMESTAMP(3), + updated_by = VALUES(updated_by);