This is an automated email from the ASF dual-hosted git repository.
zhangzicheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new 6a08b6ce7 [type: bug] fix h2 sql (#3837)
6a08b6ce7 is described below
commit 6a08b6ce7b864fe48a9baae319d5652e80c9a709
Author: xiaoyu <[email protected]>
AuthorDate: Fri Aug 12 13:01:54 2022 +0800
[type: bug] fix h2 sql (#3837)
---
shenyu-admin/src/main/resources/sql-script/h2/schema.sql | 3 +--
.../src/main/java/org/apache/shenyu/common/dto/ConditionData.java | 6 ++----
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/shenyu-admin/src/main/resources/sql-script/h2/schema.sql
b/shenyu-admin/src/main/resources/sql-script/h2/schema.sql
index 9c65414d1..ee09a97df 100755
--- a/shenyu-admin/src/main/resources/sql-script/h2/schema.sql
+++ b/shenyu-admin/src/main/resources/sql-script/h2/schema.sql
@@ -386,8 +386,7 @@ INSERT IGNORE INTO `plugin` (`id`, `name`, `role`, `sort`,
`config`, `enabled`)
INSERT IGNORE INTO `plugin` (`id`, `name`, `role`, `sort`, `config`,
`enabled`) VALUES ('29', 'loggingRocketMQ', 'Logging',
170,'{"topic":"shenyu-access-logging", "namesrvAddr":
"localhost:9876","producerGroup":"shenyu-plugin-logging-rocketmq"}', '0');
INSERT IGNORE INTO `plugin` (`id`, `name`, `config`, `role`, `sort`,
`enabled`) VALUES ('30', 'cache', '{"cacheType":"memory"}', 'Cache', 10, 0);
INSERT IGNORE INTO `plugin` (`id`, `name`, `config`, `role`, `sort`,
`enabled`) VALUES ('31', 'mock', null, 'Mock', 1, 0);
-INSER
- T IGNORE INTO `plugin` (`id`, `name`, `role`, `sort`, `config`, `enabled`)
VALUES ('32', 'loggingElasticSearch', 'Logging', 190,'{"host":"localhost",
"port": "9200"}', '0');
+INSERT IGNORE INTO `plugin` (`id`, `name`, `role`, `sort`, `config`,
`enabled`) VALUES ('32', 'loggingElasticSearch', 'Logging',
190,'{"host":"localhost", "port": "9200"}', '0');
INSERT IGNORE INTO `plugin` (`id`, `name`, `role`, `sort`, `config`,
`enabled`) VALUES ('33', 'loggingKafka', 'Logging',
180,'{"topic":"shenyu-access-logging", "namesrvAddr": "localhost:9092"}', '0');
INSERT IGNORE INTO `plugin` (`id`, `name`, `role`, `sort`, `config`,
`enabled`) VALUES ('34', 'loggingAliyunSls', 'Logging', 175, '{"projectName":
"shenyu", "logStoreName": "shenyu-logstore", "topic": "shenyu-topic"}', '0');
diff --git
a/shenyu-common/src/main/java/org/apache/shenyu/common/dto/ConditionData.java
b/shenyu-common/src/main/java/org/apache/shenyu/common/dto/ConditionData.java
index e7d76fd51..6a897c139 100644
---
a/shenyu-common/src/main/java/org/apache/shenyu/common/dto/ConditionData.java
+++
b/shenyu-common/src/main/java/org/apache/shenyu/common/dto/ConditionData.java
@@ -17,8 +17,6 @@
package org.apache.shenyu.common.dto;
-import org.apache.shenyu.common.enums.OperatorEnum;
-
import java.util.Objects;
/**
@@ -29,12 +27,12 @@ import java.util.Objects;
public class ConditionData {
/**
- * param type (post query uri).
+ * {@linkplain org.apache.shenyu.common.enums.ParamTypeEnum}.
*/
private String paramType;
/**
- * {@linkplain OperatorEnum}.
+ * {@linkplain org.apache.shenyu.common.enums.OperatorEnum}.
*/
private String operator;