(improvement)(headless) Add API interface to provide data services to other applications (#561)

Co-authored-by: jolunoluo
This commit is contained in:
LXW
2023-12-21 22:10:29 +08:00
committed by GitHub
parent 7b580b7c94
commit fa38e37be3
40 changed files with 1106 additions and 55 deletions

View File

@@ -525,3 +525,20 @@ CREATE TABLE `s2_metric_query_default_config` (
`created_by` varchar(100) null,
`updated_by` varchar(100) null
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `s2_app`
(
id bigint primary key AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(255),
description VARCHAR(255),
status INT,
config TEXT,
end_date TIMESTAMP,
qps INT,
app_secret VARCHAR(255),
owner VARCHAR(255),
created_at TIMESTAMP,
created_by VARCHAR(255),
updated_at TIMESTAMP,
updated_by VARCHAR(255)
);