Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<parent>
<artifactId>opensabre-base-dependencies</artifactId>
<groupId>io.github.opensabre</groupId>
<version>1.1.3-SNAPSHOT</version>
<version>1.1.3</version>
</parent>

<artifactId>base-sysadmin</artifactId>
<version>1.1.2</version>
<version>1.1.3</version>
<packaging>jar</packaging>

<name>base-sysadmin</name>
Expand Down
Original file line number Diff line number Diff line change
@@ -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);
Loading