Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
3b8668e
fixed: #6081
gumaomao Nov 14, 2025
921209a
Merge branch 'master' into master-fix#6081
gumaomao Nov 14, 2025
c9a4217
fixed: 解决与主分支冲突
gumaomao Nov 14, 2025
4e22a39
Merge branch 'master' into master-fix#6081
gumaomao Nov 18, 2025
427181d
Merge branch 'master' into master-fix#6081
Aias00 Nov 19, 2025
036c955
Merge branch 'master' into master-fix#6081
Aias00 Nov 19, 2025
91b5898
Merge branch 'master' into master-fix#6081
Aias00 Nov 20, 2025
abbeb61
Merge branch 'master' into master-fix#6081
Aias00 Nov 20, 2025
1dcb19b
Merge branch 'master' into master-fix#6081
Aias00 Nov 22, 2025
837f02a
fix: 修复AI提示的问题
gumaomao Nov 27, 2025
0148888
fix: 修复AI提示的没有匹配缓存的问题
gumaomao Dec 2, 2025
168dc64
Merge branch 'master' into master-fix#6081
Aias00 Dec 3, 2025
6a8ae43
fix: 修复AI提示的问题
gumaomao Dec 3, 2025
5524888
Merge remote-tracking branch 'origin/master-fix#6081' into master-fix…
gumaomao Dec 3, 2025
2bb9ce4
Merge branch 'master' into master-fix#6081
yu199195 Dec 8, 2025
6be880b
Merge branch 'master' into master-fix#6081
Aias00 Dec 11, 2025
97f04c9
Merge branch 'master' into master-fix#6081
gumaomao Dec 17, 2025
4b81131
fix: 补充改动类的类注释和方法注释
gumaomao Dec 17, 2025
0b01d6a
Merge branch 'master' into master-fix#6081
Aias00 Dec 28, 2025
8db40cf
Merge branch 'master' into master-fix#6081
Aias00 Jan 5, 2026
2bc515b
fix: 修复CI提示的代码风格错误的问题
gumaomao Jan 12, 2026
b809e7e
Update shenyu-plugin/shenyu-plugin-base/src/main/java/org/apache/shen…
Aias00 Jan 15, 2026
4d23adf
Merge branch 'master' into master-fix#6081
Aias00 Jan 16, 2026
73809dd
Merge branch 'master' into master-fix#6081
Aias00 Jan 16, 2026
80554c0
fix: 修复剩余69个CI提示的代码风格错误问题
gumaomao Jan 19, 2026
7753c3f
Merge branch 'master' into master-fix#6081
Aias00 Jan 19, 2026
8f24939
Merge branch 'master' into master-fix#6081
gumaomao Feb 23, 2026
97841b8
Merge branch 'master' into master-fix#6081
Aias00 Feb 25, 2026
1221a71
Merge branch 'master' into master-fix#6081
Aias00 Feb 28, 2026
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
Original file line number Diff line number Diff line change
Expand Up @@ -180,24 +180,14 @@ public int hashCode() {
return Objects.hash(getId(), getName(), config, role, getEnabled(), getSort(), pluginJar, getNamespaceId());
}

public static final class Builder {

private String id;

private String name;
public static final class Builder extends BaseData {

private String config;

private String role;

private Boolean enabled;

private Integer sort;

private String pluginJar;

private String namespaceId;

/**
* no args constructor.
*/
Expand All @@ -220,7 +210,7 @@ public static Builder builder() {
* @return this
*/
public Builder id(final String id) {
this.id = id;
setId(id);
return this;
}

Expand All @@ -231,7 +221,7 @@ public Builder id(final String id) {
* @return this
*/
public Builder name(final String name) {
this.name = name;
setName(name);
return this;
}

Expand Down Expand Up @@ -264,7 +254,7 @@ public Builder role(final String role) {
* @return this
*/
public Builder enabled(final Boolean enabled) {
this.enabled = enabled;
setEnabled(enabled);
return this;
}

Expand All @@ -275,7 +265,7 @@ public Builder enabled(final Boolean enabled) {
* @return this
*/
public Builder sort(final Integer sort) {
this.sort = sort;
setSort(sort);
return this;
}

Expand All @@ -297,7 +287,7 @@ public Builder pluginJar(final String pluginJar) {
* @return this
*/
public Builder namespaceId(final String namespaceId) {
this.namespaceId = namespaceId;
setNamespaceId(namespaceId);
return this;
}

Expand All @@ -308,14 +298,14 @@ public Builder namespaceId(final String namespaceId) {
*/
public PluginData build() {
PluginData pluginData = new PluginData();
pluginData.setId(id);
pluginData.setName(name);
pluginData.setId(getId());
pluginData.setName(getName());
pluginData.setConfig(config);
pluginData.setRole(role);
pluginData.setEnabled(enabled);
pluginData.setSort(sort);
pluginData.setEnabled(getEnabled());
pluginData.setSort(getSort());
pluginData.setPluginJar(pluginJar);
pluginData.setNamespaceId(namespaceId);
pluginData.setNamespaceId(getNamespaceId());
return pluginData;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,19 @@ public RuleData() {
* @param builder builder
*/
private RuleData(final Builder builder) {
this.setId(builder.id);
this.setName(builder.name);
this.setId(builder.getId());
this.setName(builder.getName());
this.pluginName = builder.pluginName;
this.selectorId = builder.selectorId;
this.matchMode = builder.matchMode;
this.setSort(builder.sort);
this.setEnabled(builder.enabled);
this.setSort(builder.getSort());
this.setEnabled(builder.getEnabled());
this.loged = builder.loged;
this.handle = builder.handle;
this.conditionDataList = builder.conditionDataList;
this.beforeConditionDataList = builder.beforeConditionDataList;
this.matchRestful = builder.matchRestful;
this.setNamespaceId(builder.namespaceId);
this.setNamespaceId(builder.getNamespaceId());
}

/**
Expand Down Expand Up @@ -298,7 +298,7 @@ public Boolean getMatchRestful() {
public void setMatchRestful(final Boolean matchRestful) {
this.matchRestful = matchRestful;
}

@Override
public boolean equals(final Object o) {
if (this == o) {
Expand Down Expand Up @@ -365,33 +365,23 @@ public String toString() {
/**
* class builder.
*/
public static final class Builder {

private String id;

private String name;
public static final class Builder extends BaseData {

private String pluginName;

private String selectorId;

private Integer matchMode;

private Integer sort;

private Boolean enabled;

private Boolean loged;

private String handle;

private List<ConditionData> conditionDataList;

private List<ConditionData> beforeConditionDataList;

private Boolean matchRestful;

private String namespaceId;

/**
* no args constructor.
Expand All @@ -415,7 +405,7 @@ public RuleData build() {
* @return this
*/
public Builder id(final String id) {
this.id = id;
setId(id);
return this;
}

Expand All @@ -426,7 +416,7 @@ public Builder id(final String id) {
* @return this
*/
public Builder name(final String name) {
this.name = name;
setName(name);
return this;
}

Expand Down Expand Up @@ -470,7 +460,7 @@ public Builder matchMode(final Integer matchMode) {
* @return this
*/
public Builder sort(final Integer sort) {
this.sort = sort;
setSort(sort);
return this;
}

Expand All @@ -481,7 +471,7 @@ public Builder sort(final Integer sort) {
* @return this
*/
public Builder enabled(final Boolean enabled) {
this.enabled = enabled;
setEnabled(enabled);
return this;
}

Expand Down Expand Up @@ -528,7 +518,7 @@ public Builder beforeConditionDataList(final List<ConditionData> beforeCondition
this.beforeConditionDataList = beforeConditionDataList;
return this;
}

/**
* build match restful.
*
Expand All @@ -539,15 +529,15 @@ public Builder matchRestful(final Boolean matchRestful) {
this.matchRestful = matchRestful;
return this;
}

/**
* build namespaceId.
*
* @param namespaceId namespaceId
* @return this
*/
public Builder namespaceId(final String namespaceId) {
this.namespaceId = namespaceId;
setNamespaceId(namespaceId);
return this;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,21 @@ public SelectorData() {
* @param builder builder
*/
private SelectorData(final Builder builder) {
this.setId(builder.id);
this.setId(builder.getId());
this.pluginId = builder.pluginId;
this.pluginName = builder.pluginName;
this.setName(builder.name);
this.setName(builder.getName());
this.matchMode = builder.matchMode;
this.type = builder.type;
this.setSort(builder.sort);
this.setEnabled(builder.enabled);
this.setSort(builder.getSort());
this.setEnabled(builder.getEnabled());
this.logged = builder.logged;
this.continued = builder.continued;
this.handle = builder.handle;
this.conditionList = builder.conditionList;
this.matchRestful = builder.matchRestful;
this.beforeConditionList = builder.beforeConditionList;
this.setNamespaceId(builder.namespaceId);
this.setNamespaceId(builder.getNamespaceId());
}

/**
Expand Down Expand Up @@ -345,11 +345,7 @@ public String toString() {
/**
* class builder.
*/
public static final class Builder {

private String id;

private String name;
public static final class Builder extends BaseData {

private String pluginId;

Expand All @@ -359,10 +355,6 @@ public static final class Builder {

private Integer type;

private Integer sort;

private Boolean enabled;

private Boolean logged;

private Boolean continued;
Expand All @@ -375,8 +367,6 @@ public static final class Builder {

private List<ConditionData> beforeConditionList;

private String namespaceId;

/**
* no args constructor.
*/
Expand All @@ -399,7 +389,7 @@ public SelectorData build() {
* @return this
*/
public Builder id(final String id) {
this.id = id;
setId(id);
return this;
}

Expand Down Expand Up @@ -432,7 +422,7 @@ public Builder pluginName(final String pluginName) {
* @return this
*/
public Builder name(final String name) {
this.name = name;
setName(name);
return this;
}

Expand Down Expand Up @@ -465,7 +455,7 @@ public Builder type(final Integer type) {
* @return this
*/
public Builder sort(final Integer sort) {
this.sort = sort;
setSort(sort);
return this;
}

Expand All @@ -476,7 +466,7 @@ public Builder sort(final Integer sort) {
* @return this
*/
public Builder enabled(final Boolean enabled) {
this.enabled = enabled;
setEnabled(enabled);
return this;
}

Expand Down Expand Up @@ -553,7 +543,7 @@ public Builder beforeConditionList(final List<ConditionData> beforeConditionList
* @return this
*/
public Builder namespaceId(final String namespaceId) {
this.namespaceId = namespaceId;
setNamespaceId(namespaceId);
return this;
}
}
Expand Down
Loading