-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ISSUE#12217] Add the reconciliation mechanism of gray configuration (#…
…12507) * Refine the formal configuration and add additional information(#12217) * Change the "configType" field to "publishType"(#12217) * Improve the gray configuration(#12217) * add the reconciliation mechanism of gray configuration(#12217) * Change the JSON format of gray rule.(#12217) * Remove redundant queries(#12217) * fix reconciliation mechanism of gray configuration.(#12217) * Adjust the way of obtaining grayName.(#12217) * Change the variable name.(#12217)
- Loading branch information
1 parent
6c3cbf8
commit 8af465a
Showing
48 changed files
with
2,254 additions
and
459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
97 changes: 97 additions & 0 deletions
97
config/src/main/java/com/alibaba/nacos/config/server/model/ConfigAllInfo4Gray.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
/* | ||
* Copyright 1999-$toady.year Alibaba Group Holding Ltd. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.alibaba.nacos.config.server.model; | ||
|
||
/** | ||
* ConfigAllInfo4Gray. | ||
* | ||
* @author Nacos | ||
*/ | ||
public class ConfigAllInfo4Gray extends ConfigInfo { | ||
|
||
private static final long serialVersionUID = -7926709237557990936L; | ||
|
||
private String srcUser; | ||
|
||
private String srcIp; | ||
|
||
private long gmtCreate; | ||
|
||
private long gmtModified; | ||
|
||
private String grayName; | ||
|
||
private String grayRule; | ||
|
||
public String getSrcUser() { | ||
return srcUser; | ||
} | ||
|
||
public void setSrcUser(String srcUser) { | ||
this.srcUser = srcUser; | ||
} | ||
|
||
public String getSrcIp() { | ||
return srcIp; | ||
} | ||
|
||
public void setSrcIp(String srcIp) { | ||
this.srcIp = srcIp; | ||
} | ||
|
||
public long getGmtCreate() { | ||
return gmtCreate; | ||
} | ||
|
||
public void setGmtCreate(long gmtCreate) { | ||
this.gmtCreate = gmtCreate; | ||
} | ||
|
||
public long getGmtModified() { | ||
return gmtModified; | ||
} | ||
|
||
public void setGmtModified(long gmtModified) { | ||
this.gmtModified = gmtModified; | ||
} | ||
|
||
public String getGrayName() { | ||
return grayName; | ||
} | ||
|
||
public void setGrayName(String grayName) { | ||
this.grayName = grayName; | ||
} | ||
|
||
public String getGrayRule() { | ||
return grayRule; | ||
} | ||
|
||
public void setGrayRule(String grayRule) { | ||
this.grayRule = grayRule; | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
return super.hashCode(); | ||
} | ||
|
||
@Override | ||
public boolean equals(Object obj) { | ||
return super.equals(obj); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.