chore: 初始化SQL调整
This commit is contained in:
parent
4d0cbcbf7a
commit
8822e05455
|
@ -266,8 +266,8 @@ INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT
|
|||
INSERT into system_parameter values('base.url', 'http://127.0.0.1:8081', 'text');
|
||||
|
||||
-- 初始化资源池
|
||||
INSERT INTO test_resource_pool (id, name, type, description, enable, create_time, update_time, create_user, api_test, load_test, ui_test, all_org, deleted) VALUES (uuid_short(), '默认资源池', 'Node', '系统初始化资源池', true, UNIX_TIMESTAMP() * 1000, UNIX_TIMESTAMP() * 1000, 'admin', true, false, false, true, false);
|
||||
INSERT INTO test_resource_pool_blob (id, configuration) VALUES ((select id from test_resource_pool where name = '默认资源池'), 0x504B030414000808080086755258000000000000000000000000030000007A6970758E310F82301085FF4B674CCAA6AC9A28896162230C859E58697BCDB51D0CE1BF5B21B018C7F75DDEFB6E621A85ACC187D288015861A3D6D90E6F20DCC62C4AF077E5032B9A89A9C459107E3C50B4168865CC21A51B3B72CE53326855404AE0942FA047DB4722B0A18AA64B8D22E7739B2D4BAB21E00876D70903DE897EFFE9B7BF7287B27E1208E937F2C2EE020F95FC0AF73D094EE3BB4AAB1B89EA4A4A6E695024CF7F144843F99D6FDAF903504B0708CA0091AFAE00000031010000504B0102140014000808080086755258CA0091AFAE000000310100000300000000000000000000000000000000007A6970504B0506000000000100010031000000DF0000000000);
|
||||
INSERT INTO test_resource_pool (id, name, type, description, enable, create_time, update_time, create_user, api_test, load_test, ui_test, all_org, deleted) VALUES ('100001100001', '默认资源池', 'Node', '系统初始化资源池', true, UNIX_TIMESTAMP() * 1000, UNIX_TIMESTAMP() * 1000, 'admin', true, false, false, true, false);
|
||||
INSERT INTO test_resource_pool_blob (id, configuration) VALUES ('100001100001', 0x504B030414000808080086755258000000000000000000000000030000007A6970758E310F82301085FF4B674CCAA6AC9A28896162230C859E58697BCDB51D0CE1BF5B21B018C7F75DDEFB6E621A85ACC187D288015861A3D6D90E6F20DCC62C4AF077E5032B9A89A9C459107E3C50B4168865CC21A51B3B72CE53326855404AE0942FA047DB4722B0A18AA64B8D22E7739B2D4BAB21E00876D70903DE897EFFE9B7BF7287B27E1208E937F2C2EE020F95FC0AF73D094EE3BB4AAB1B89EA4A4A6E695024CF7F144843F99D6FDAF903504B0708CA0091AFAE00000031010000504B0102140014000808080086755258CA0091AFAE000000310100000300000000000000000000000000000000007A6970504B0506000000000100010031000000DF0000000000);
|
||||
|
||||
-- 初始化默认项目与默认资源池的关系
|
||||
INSERT INTO project_test_resource_pool (project_id, test_resource_pool_id) VALUES ('100001100001', (SELECT id FROM test_resource_pool WHERE name = '默认资源池'));
|
||||
|
|
|
@ -1,25 +1,23 @@
|
|||
package io.metersphere.sdk.constants;
|
||||
|
||||
public enum ApplicationNumScope {
|
||||
// API
|
||||
API_DEFINITION,
|
||||
API_TEST_CASE,
|
||||
API_MOCK,
|
||||
API_SCENARIO,
|
||||
API_IMPORT,
|
||||
|
||||
UI_SCENARIO,
|
||||
UI_ELEMENT,
|
||||
UI_CUSTOM_COMMAND,
|
||||
|
||||
LOAD_TEST,
|
||||
|
||||
// Test Plan
|
||||
TEST_PLAN,
|
||||
TEST_PLAN_FUNCTION_CASE,
|
||||
TEST_PLAN_API_CASE,
|
||||
TEST_PLAN_API_SCENARIO,
|
||||
|
||||
// Bug
|
||||
BUG_MANAGEMENT,
|
||||
|
||||
// Test Case
|
||||
CASE_MANAGEMENT,
|
||||
REVIEW_CASE_MANAGEMENT
|
||||
}
|
||||
|
|
|
@ -16,10 +16,8 @@ import io.metersphere.sdk.util.Translator;
|
|||
* 100: 通用功能
|
||||
* 101: 系统设置
|
||||
* 102: 项目设置
|
||||
* 103: 性能测试
|
||||
* 104: 接口测试
|
||||
* 105: 测试跟踪
|
||||
* 106: UI 测试
|
||||
* 107: 测试计划
|
||||
* 108: 缺陷管理
|
||||
* 109: 工作台
|
||||
|
|
Loading…
Reference in New Issue