forked from alibaba/nacos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
70 changed files
with
72 additions
and
73 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
import com.alibaba.nacos.api.exception.NacosException; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class NamingFactory { | ||
|
||
|
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
import java.util.List; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public interface NamingService { | ||
|
||
|
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
|
||
/** | ||
* event interface | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public interface Event { | ||
} |
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
import com.alibaba.nacos.api.naming.pojo.Instance; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class NamingEvent implements Event { | ||
|
||
|
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
import java.util.Objects; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public abstract class AbstractHealthChecker implements Cloneable { | ||
|
||
|
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
import java.util.Map; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class Cluster { | ||
|
||
|
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
import java.util.Map; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class Instance { | ||
|
||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
import java.util.List; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class ListView<T> { | ||
|
||
|
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 |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
import java.util.Map; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class Service { | ||
|
||
|
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
import java.util.List; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class ServiceInfo { | ||
|
||
|
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 |
---|---|---|
|
@@ -42,7 +42,7 @@ | |
import java.util.Properties; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
@SuppressWarnings("PMD.ServiceOrDaoClassShouldEndWithImplRule") | ||
public class NacosNamingService implements NamingService { | ||
|
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 |
---|---|---|
|
@@ -33,7 +33,7 @@ | |
import java.util.concurrent.*; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class FailoverReactor { | ||
|
||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
import java.util.Map; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class BeatInfo { | ||
|
||
|
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 |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
import com.alibaba.nacos.client.naming.utils.LogUtils; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class ConcurrentDiskUtil { | ||
|
||
|
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
package com.alibaba.nacos.client.naming.core; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class ProtectMode { | ||
|
||
|
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 |
---|---|---|
|
@@ -31,7 +31,7 @@ | |
import java.util.zip.GZIPInputStream; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class HttpClient { | ||
|
||
|
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 |
---|---|---|
|
@@ -34,7 +34,7 @@ | |
import java.util.concurrent.TimeUnit; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class NamingProxy { | ||
|
||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
import java.util.List; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class Chooser<K, T> { | ||
|
||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
import java.util.concurrent.atomic.AtomicInteger; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class GenericPoller<T> implements Poller<T> { | ||
|
||
|
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
import java.util.zip.GZIPInputStream; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class IoUtils { | ||
|
||
|
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
package com.alibaba.nacos.client.naming.utils; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class Pair<T> { | ||
|
||
|
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
import java.util.List; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public interface Poller<T> { | ||
/** | ||
|
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
import java.util.Locale; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class StringUtils { | ||
public static boolean isEmpty(String str) { | ||
|
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
import java.util.Map; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class NamingTest { | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
import java.util.UUID; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class UuidUtil { | ||
|
||
|
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
|
||
/** | ||
* Running config | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
@Component | ||
public class RunningConfigUtils implements ApplicationListener<WebServerInitializedEvent> { | ||
|
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
import com.alibaba.nacos.api.naming.listener.NamingEvent; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class NamingExample { | ||
|
||
|
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 |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
import java.util.Map; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
@Component | ||
public class AuthChecker { | ||
|
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
package com.alibaba.nacos.naming.acl; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class AuthInfo { | ||
private String operator; | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,7 @@ | |
import java.util.Map; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
@RestController | ||
|
||
|
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 |
---|---|---|
|
@@ -36,7 +36,7 @@ | |
import javax.servlet.http.HttpServletRequest; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
@RestController | ||
@RequestMapping(UtilsAndCommons.NACOS_NAMING_CONTEXT + "/cluster") | ||
|
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
package com.alibaba.nacos.naming.controllers; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class CmdbController { | ||
} |
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
package com.alibaba.nacos.naming.controllers; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class HealthController { | ||
} |
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 |
---|---|---|
|
@@ -37,7 +37,7 @@ | |
import java.util.Map; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
@RestController | ||
@RequestMapping(UtilsAndCommons.NACOS_NAMING_CONTEXT) | ||
|
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
package com.alibaba.nacos.naming.controllers; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class OperatorController { | ||
} |
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 |
---|---|---|
|
@@ -36,7 +36,7 @@ | |
import java.util.Map; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
@RestController | ||
@RequestMapping(UtilsAndCommons.NACOS_NAMING_CONTEXT + "/service") | ||
|
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 |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
import java.util.concurrent.ConcurrentHashMap; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class Cluster extends com.alibaba.nacos.api.naming.pojo.Cluster implements Cloneable { | ||
|
||
|
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
import java.util.concurrent.TimeUnit; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public class DistroMapper { | ||
|
||
|
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
import java.util.List; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
public interface Domain { | ||
/** | ||
|
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 |
---|---|---|
|
@@ -39,7 +39,7 @@ | |
import java.util.concurrent.locks.ReentrantLock; | ||
|
||
/** | ||
* @author dungu.zpf | ||
* @author <a href="mailto:zpf[email protected]">nkorange</a> | ||
*/ | ||
@Component | ||
public class DomainsManager { | ||
|
Oops, something went wrong.