@@ -51,7 +51,7 @@ CREATE TABLE `api` (
51
51
` consume` varchar (255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' consume content-type' ,
52
52
` produce` varchar (255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' produce content-type' ,
53
53
` version` varchar (255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' api version,for example V0.01' ,
54
- ` rpc_type` varchar (64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' http,dubbo,sofa,tars,websocket,springCloud, motan,grpc' ,
54
+ ` rpc_type` varchar (64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' http,dubbo,sofa,tars,websocket,motan,grpc' ,
55
55
` state` tinyint (4 ) NOT NULL COMMENT ' 0-unpublished,1-published,2-offline' ,
56
56
` ext` varchar (1024 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' extended fields' ,
57
57
` api_owner` varchar (255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' api_owner' ,
@@ -920,7 +920,6 @@ INSERT INTO `plugin` VALUES ('30', 'cache', '{\"cacheType\":\"memory\"}', 'Cache
920
920
INSERT INTO ` plugin` VALUES (' 4' , ' rateLimiter' , ' {\" master\" :\" mymaster\" ,\" mode\" :\" standalone\" ,\" url\" :\" 192.168.1.1:6379\" ,\" password\" :\" abc\" }' , ' FaultTolerance' , 60 , 0 , ' 2022-05-25 18:02:53' , ' 2022-05-25 18:02:53' ,null );
921
921
INSERT INTO ` plugin` VALUES (' 5' , ' divide' , ' {\" multiSelectorHandle\" :\" 1\" ,\" multiRuleHandle\" :\" 0\" }' , ' Proxy' , 200 , 1 , ' 2022-05-25 18:02:53' , ' 2022-05-25 18:02:53' ,null );
922
922
INSERT INTO ` plugin` VALUES (' 6' , ' dubbo' , ' {\" register\" :\" zookeeper://localhost:2181\" ,\" multiSelectorHandle\" :\" 1\" ,\" threadpool\" :\" shared\" ,\" corethreads\" :0,\" threads\" :2147483647,\" queues\" :0}' , ' Proxy' , 310 , 0 , ' 2022-05-25 18:02:53' , ' 2022-05-25 18:02:53' ,null );
923
- INSERT INTO ` plugin` VALUES (' 8' , ' springCloud' , NULL , ' Proxy' , 200 , 0 , ' 2022-05-25 18:02:53' , ' 2022-05-25 18:02:53' ,null );
924
923
INSERT INTO ` plugin` VALUES (' 9' , ' hystrix' , NULL , ' FaultTolerance' , 130 , 0 , ' 2022-05-25 18:02:53' , ' 2022-05-25 18:02:53' ,null );
925
924
INSERT INTO ` plugin` VALUES (' 32' , ' loggingElasticSearch' ,' {\" host\" :\" localhost\" , \" port\" : \" 9200\" }' , ' Logging' , 190 , 0 , ' 2022-06-19 22:00:00' , ' 2022-06-19 22:00:00' ,null );
926
925
INSERT INTO ` plugin` VALUES (' 33' , ' loggingKafka' ,' {\" topic\" :\" shenyu-access-logging\" ,\" namesrvAddr\" :\" http://localhost:9092\" ,\" sampleRate\" :\" 1\" ,\" maxResponseBody\" :524288,\" maxRequestBody\" :524288,\" compressAlg\" :\" none\" }' , ' Logging' , 180 , 0 , ' 2022-07-04 22:00:00' , ' 2022-07-02 22:00:00' ,null );
@@ -978,9 +977,6 @@ INSERT INTO `plugin_handle` VALUES ('1529402613199978511', '3', 'regex', 'regex'
978
977
INSERT INTO ` plugin_handle` VALUES (' 1529402613199978512' , ' 3' , ' replace' , ' replace' , 2 , 2 , 2 , NULL , ' 2022-05-25 18:02:53' , ' 2022-05-25 18:02:53' );
979
978
INSERT INTO ` plugin_handle` VALUES (' 1697146860569596304' , ' 3' , ' percentage' , ' percentage' , 1 , 2 , 3 , NULL , ' 2023-09-15 20:25:53' , ' 2023-09-15 20:25:53' );
980
979
INSERT INTO ` plugin_handle` VALUES (' 1529402613199978513' , ' 16' , ' redirectURI' , ' redirectURI' , 2 , 2 , 1 , NULL , ' 2022-05-25 18:02:53' , ' 2022-05-25 18:02:53' );
981
- INSERT INTO ` plugin_handle` VALUES (' 1529402613199978514' , ' 8' , ' path' , ' path' , 2 , 2 , 1 , NULL , ' 2022-05-25 18:02:53' , ' 2022-05-25 18:02:53' );
982
- INSERT INTO ` plugin_handle` VALUES (' 1529402613199978515' , ' 8' , ' timeout' , ' timeout ms)' , 1 , 2 , 2 , NULL , ' 2022-05-25 18:02:53' , ' 2022-05-25 18:02:53' );
983
- INSERT INTO ` plugin_handle` VALUES (' 1529402613199978516' , ' 8' , ' serviceId' , ' serviceId' , 2 , 1 , 1 , NULL , ' 2022-05-25 18:02:53' , ' 2022-05-25 18:02:53' );
984
980
INSERT INTO ` plugin_handle` VALUES (' 1529402613199978517' , ' 12' , ' timeoutDurationRate' , ' timeoutDurationRate ms)' , 1 , 2 , 1 , ' {\" required\" :\" 1\" ,\" defaultValue\" :\" 5000\" ,\" rule\" :\"\" }' , ' 2022-05-25 18:02:53' , ' 2022-05-25 18:02:53' );
985
981
INSERT INTO ` plugin_handle` VALUES (' 1529402613199978518' , ' 12' , ' limitRefreshPeriod' , ' limitRefreshPeriod ms)' , 1 , 2 , 0 , ' {\" required\" :\" 1\" ,\" defaultValue\" :\" 500\" ,\" rule\" :\"\" }' , ' 2022-05-25 18:02:53' , ' 2022-05-25 18:02:53' );
986
982
INSERT INTO ` plugin_handle` VALUES (' 1529402613199978519' , ' 12' , ' limitForPeriod' , ' limitForPeriod' , 1 , 2 , 0 , ' {\" required\" :\" 1\" ,\" defaultValue\" :\" 50\" ,\" rule\" :\"\" }' , ' 2022-05-25 18:02:53' , ' 2022-05-25 18:02:53' );
@@ -1184,7 +1180,6 @@ INSERT INTO `plugin_handle` VALUES ('1529402613204172933', '36', 'retries', 'ret
1184
1180
INSERT INTO ` plugin_handle` VALUES (' 1529402613204172934' , ' 36' , ' maxReservedAttempts' , ' maxReservedAttempts' , 1 , 3 , 13 , ' {\" required\" :\" 0\" ,\" defaultValue\" :11}' , ' 2022-06-30 21:00:00' , ' 2022-06-30 21:00:00' );
1185
1181
INSERT INTO ` plugin_handle` VALUES (' 1529402613204172935' , ' 36' , ' baseRetryBackoffMs' , ' baseRetryBackoffMs' , 1 , 3 , 14 , ' {\" required\" :\" 0\" ,\" defaultValue\" :100}' , ' 2022-06-30 21:00:00' , ' 2022-06-30 21:00:00' );
1186
1182
INSERT INTO ` plugin_handle` VALUES (' 1529402613204172936' , ' 36' , ' maxRetryBackoffMs' , ' maxRetryBackoffMs' , 1 , 3 , 15 , ' {\" required\" :\" 0\" ,\" defaultValue\" :50000}' , ' 2022-06-30 21:00:00' , ' 2022-06-30 21:00:00' );
1187
- INSERT INTO ` plugin_handle` VALUES (' 1529402613204172742' , ' 8' , ' loadBalance' , ' loadStrategy' , 3 , 2 , 3 , ' {\" defaultValue\" :\" roundRobin\" ,\" rule\" :\"\" }' , ' 2022-05-25 18:02:53' , ' 2022-05-25 18:02:53' );
1188
1183
INSERT INTO ` plugin_handle` VALUES (' 1529402613204172743' , ' 10' , ' flowRuleMaxQueueingTimeMs' , ' flowRuleMaxQueueingTimeMs' , 1 , 2 , 6 , ' {\" required\" :\" 0\" ,\" defaultValue\" :\" 500\" }' , ' 2022-05-25 18:02:53' , ' 2022-05-25 18:02:53' );
1189
1184
INSERT INTO ` plugin_handle` VALUES (' 1529402613204172744' , ' 10' , ' flowRuleWarmUpPeriodSec' , ' flowRuleWarmUpPeriodSec' , 1 , 2 , 6 , ' {\" required\" :\" 0\" ,\" defaultValue\" :\" 10\" }' , ' 2022-05-25 18:02:53' , ' 2022-05-25 18:02:53' );
1190
1185
INSERT INTO ` plugin_handle` VALUES (' 1529402613204172745' , ' 14' , ' addPrefixed' , ' addPrefixed' , 3 , 2 , 3 , ' {\" required\" :\" 1\" ,\" defaultValue\" :\" false\" }' , ' 2022-09-27 12:00:00' , ' 2022-09-27 12:00:00' );
@@ -1442,7 +1437,6 @@ INSERT INTO `resource` VALUES ('1529402639284355094', '1346775491550474240', 'ca
1442
1437
INSERT INTO ` resource` VALUES (' 1529402639284355095' , ' 1346775491550474240' , ' rateLimiter' , ' rateLimiter' , ' /plug/rateLimiter' , ' rateLimiter' , 1 , 0 , ' key' , 0 , 0 , ' ' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1443
1438
INSERT INTO ` resource` VALUES (' 1529402639284355096' , ' 1346775491550474240' , ' divide' , ' divide' , ' /plug/divide' , ' divide' , 1 , 0 , ' stop' , 0 , 0 , ' ' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1444
1439
INSERT INTO ` resource` VALUES (' 1529402639284355097' , ' 1346775491550474240' , ' dubbo' , ' dubbo' , ' /plug/dubbo' , ' dubbo' , 1 , 0 , ' fire' , 0 , 0 , ' ' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1445
- INSERT INTO ` resource` VALUES (' 1529402639284355098' , ' 1346775491550474240' , ' springCloud' , ' springCloud' , ' /plug/springCloud' , ' springCloud' , 1 , 0 , ' border-bottom' , 0 , 0 , ' ' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1446
1440
INSERT INTO ` resource` VALUES (' 1529402639284355099' , ' 1346775491550474240' , ' hystrix' , ' hystrix' , ' /plug/hystrix' , ' hystrix' , 1 , 0 , ' border-bottom' , 0 , 0 , ' ' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1447
1441
INSERT INTO ` resource` VALUES (' 1529402639368241152' , ' 1529402639271772160' , ' SHENYU.BUTTON.PLUGIN.SELECTOR.ADD' , ' ' , ' ' , ' ' , 2 , 0 , ' ' , 1 , 0 , ' plugin:signSelector:add' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1448
1442
INSERT INTO ` resource` VALUES (' 1529402639368241153' , ' 1529402639271772160' , ' SHENYU.BUTTON.PLUGIN.SELECTOR.QUERY' , ' ' , ' ' , ' ' , 2 , 0 , ' ' , 1 , 0 , ' plugin:signSelector:query' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
@@ -1687,15 +1681,6 @@ INSERT INTO `resource` VALUES ('1529402639372435641', '1529402639284355097', 'SH
1687
1681
INSERT INTO ` resource` VALUES (' 1529402639372435642' , ' 1529402639284355097' , ' SHENYU.BUTTON.PLUGIN.RULE.EDIT' , ' ' , ' ' , ' ' , 2 , 0 , ' ' , 1 , 0 , ' plugin:dubboRule:edit' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1688
1682
INSERT INTO ` resource` VALUES (' 1529402639372435643' , ' 1529402639284355097' , ' SHENYU.BUTTON.PLUGIN.RULE.DELETE' , ' ' , ' ' , ' ' , 2 , 0 , ' ' , 1 , 0 , ' plugin:dubboRule:delete' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1689
1683
INSERT INTO ` resource` VALUES (' 1529402639372435644' , ' 1529402639284355097' , ' SHENYU.BUTTON.PLUGIN.SYNCHRONIZE' , ' ' , ' ' , ' ' , 2 , 0 , ' ' , 1 , 0 , ' plugin:dubbo:modify' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1690
- INSERT INTO ` resource` VALUES (' 1529402639372435645' , ' 1529402639284355098' , ' SHENYU.BUTTON.PLUGIN.SELECTOR.ADD' , ' ' , ' ' , ' ' , 2 , 0 , ' ' , 1 , 0 , ' plugin:springCloudSelector:add' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1691
- INSERT INTO ` resource` VALUES (' 1529402639372435646' , ' 1529402639284355098' , ' SHENYU.BUTTON.PLUGIN.SELECTOR.QUERY' , ' ' , ' ' , ' ' , 2 , 0 , ' ' , 1 , 0 , ' plugin:springCloudSelector:query' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1692
- INSERT INTO ` resource` VALUES (' 1529402639372435647' , ' 1529402639284355098' , ' SHENYU.BUTTON.PLUGIN.SELECTOR.EDIT' , ' ' , ' ' , ' ' , 2 , 0 , ' ' , 1 , 0 , ' plugin:springCloudSelector:edit' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1693
- INSERT INTO ` resource` VALUES (' 1529402639372435648' , ' 1529402639284355098' , ' SHENYU.BUTTON.PLUGIN.SELECTOR.DELETE' , ' ' , ' ' , ' ' , 2 , 0 , ' ' , 1 , 0 , ' plugin:springCloudSelector:delete' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1694
- INSERT INTO ` resource` VALUES (' 1529402639372435649' , ' 1529402639284355098' , ' SHENYU.BUTTON.PLUGIN.RULE.ADD' , ' ' , ' ' , ' ' , 2 , 0 , ' ' , 1 , 0 , ' plugin:springCloudRule:add' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1695
- INSERT INTO ` resource` VALUES (' 1529402639372435650' , ' 1529402639284355098' , ' SHENYU.BUTTON.PLUGIN.RULE.QUERY' , ' ' , ' ' , ' ' , 2 , 0 , ' ' , 1 , 0 , ' plugin:springCloudRule:query' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1696
- INSERT INTO ` resource` VALUES (' 1529402639372435651' , ' 1529402639284355098' , ' SHENYU.BUTTON.PLUGIN.RULE.EDIT' , ' ' , ' ' , ' ' , 2 , 0 , ' ' , 1 , 0 , ' plugin:springCloudRule:edit' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1697
- INSERT INTO ` resource` VALUES (' 1529402639372435652' , ' 1529402639284355098' , ' SHENYU.BUTTON.PLUGIN.RULE.DELETE' , ' ' , ' ' , ' ' , 2 , 0 , ' ' , 1 , 0 , ' plugin:springCloudRule:delete' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1698
- INSERT INTO ` resource` VALUES (' 1529402639372435653' , ' 1529402639284355098' , ' SHENYU.BUTTON.PLUGIN.SYNCHRONIZE' , ' ' , ' ' , ' ' , 2 , 0 , ' ' , 1 , 0 , ' plugin:springCloud:modify' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1699
1684
INSERT INTO ` resource` VALUES (' 1529402639372435654' , ' 1529402639284355099' , ' SHENYU.BUTTON.PLUGIN.SELECTOR.ADD' , ' ' , ' ' , ' ' , 2 , 0 , ' ' , 1 , 0 , ' plugin:hystrixSelector:add' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1700
1685
INSERT INTO ` resource` VALUES (' 1529402639372435655' , ' 1529402639284355099' , ' SHENYU.BUTTON.PLUGIN.SELECTOR.QUERY' , ' ' , ' ' , ' ' , 2 , 0 , ' ' , 1 , 0 , ' plugin:hystrixSelector:query' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
1701
1686
INSERT INTO ` resource` VALUES (' 1529402639372435656' , ' 1529402639284355099' , ' SHENYU.BUTTON.PLUGIN.SELECTOR.EDIT' , ' ' , ' ' , ' ' , 2 , 0 , ' ' , 1 , 0 , ' plugin:hystrixSelector:edit' , 1 , ' 2022-05-25 18:02:58' , ' 2022-05-25 18:02:58' );
@@ -2429,7 +2414,6 @@ INSERT INTO `namespace_plugin_rel` (`id`,`namespace_id`,`plugin_id`, `config`, `
2429
2414
INSERT INTO ` namespace_plugin_rel` (` id` ,` namespace_id` ,` plugin_id` , ` config` , ` sort` , ` enabled` , ` date_created` , ` date_updated` ) VALUES (' 1801816010882822182' ,' 649330b6-c2d7-4edc-be8e-8a54df9eb385' ,' 45' , ' {\" host\" :\" 127.0.0.1\" ,\" port\" :5672,\" password\" :\" admin\" ,\" username\" :\" admin\" ,\" exchangeName\" :\" exchange.logging.plugin\" ,\" queueName\" :\" queue.logging.plugin\" ,\" routingKey\" :\" topic.logging\" ,\" virtualHost\" :\" /\" ,\" exchangeType\" :\" direct\" ,\" durable\" :\" true\" ,\" exclusive\" :\" false\" ,\" autoDelete\" :\" false\" }' , 171 , 0 , ' 2023-11-06 15:49:56.454' , ' 2023-11-10 10:40:58.447' );
2430
2415
INSERT INTO ` namespace_plugin_rel` (` id` ,` namespace_id` ,` plugin_id` , ` config` , ` sort` , ` enabled` , ` date_created` , ` date_updated` ) VALUES (' 1801816010882822183' ,' 649330b6-c2d7-4edc-be8e-8a54df9eb385' ,' 5' , ' {\" multiSelectorHandle\" :\" 1\" ,\" multiRuleHandle\" :\" 0\" }' , 200 , 1 , ' 2022-05-25 18:02:53.000' , ' 2022-05-25 18:02:53.000' );
2431
2416
INSERT INTO ` namespace_plugin_rel` (` id` ,` namespace_id` ,` plugin_id` , ` config` , ` sort` , ` enabled` , ` date_created` , ` date_updated` ) VALUES (' 1801816010882822184' ,' 649330b6-c2d7-4edc-be8e-8a54df9eb385' ,' 6' , ' {\" register\" :\" zookeeper://localhost:2181\" ,\" multiSelectorHandle\" :\" 1\" ,\" threadpool\" :\" shared\" ,\" corethreads\" :0,\" threads\" :2147483647,\" queues\" :0}' , 310 , 0 , ' 2022-05-25 18:02:53.000' , ' 2022-05-25 18:02:53.000' );
2432
- INSERT INTO ` namespace_plugin_rel` (` id` ,` namespace_id` ,` plugin_id` , ` config` , ` sort` , ` enabled` , ` date_created` , ` date_updated` ) VALUES (' 1801816010882822185' ,' 649330b6-c2d7-4edc-be8e-8a54df9eb385' ,' 8' , ' {\" enabled\" :false,\" registerType\" :\" eureka\" ,\" serverLists\" :\" http://localhost:8761/eureka\" ,\" props\" : {}}' , 200 , 0 , ' 2022-05-25 18:02:53.000' , ' 2022-05-25 18:02:53.000' );
2433
2417
INSERT INTO ` namespace_plugin_rel` (` id` ,` namespace_id` ,` plugin_id` , ` config` , ` sort` , ` enabled` , ` date_created` , ` date_updated` ) VALUES (' 1801816010882822186' ,' 649330b6-c2d7-4edc-be8e-8a54df9eb385' ,' 9' , NULL , 130 , 0 , ' 2022-05-25 18:02:53.000' , ' 2022-05-25 18:02:53.000' );
2434
2418
INSERT INTO ` namespace_plugin_rel` (` id` ,` namespace_id` ,` plugin_id` , ` config` , ` sort` , ` enabled` , ` date_created` , ` date_updated` ) VALUES (' 1801816010882822187' ,' 649330b6-c2d7-4edc-be8e-8a54df9eb385' ,' 50' , ' {\" provider\" :\" OpenAI\" ,\" baseUrl\" :\" https://api.openai.com/v1/chat/completions\" ,\" model\" :\" gpt-4o-mini\" ,\" apiKey\" :\" your_api_key\" ,\" temperature\" :\" 0.5\" ,\" maxTokens\" :\" 1000\" ,\" stream\" :\" false\" ,\" prompt\" :\"\" }' , 171 , 0 , ' 2022-05-25 18:02:53.000' , ' 2022-05-25 18:02:53.000' );
2435
2419
0 commit comments