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
230 changed files
with
8,943 additions
and
6,261 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 |
---|---|---|
|
@@ -5,7 +5,9 @@ | |
target | ||
.project | ||
.idea | ||
.vscode | ||
.DS_Store | ||
.factorypath | ||
/logs | ||
*.iml | ||
node_modules | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
|
||
/** | ||
* @author <a href="mailto:[email protected]">nkorange</a> | ||
* @since 0.7.0 | ||
*/ | ||
public class Entity { | ||
|
||
|
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,6 +17,7 @@ | |
|
||
/** | ||
* @author <a href="mailto:[email protected]">nkorange</a> | ||
* @since 0.7.0 | ||
*/ | ||
public class EntityEvent { | ||
|
||
|
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,6 +17,7 @@ | |
|
||
/** | ||
* @author <a href="mailto:[email protected]">nkorange</a> | ||
* @since 0.7.0 | ||
*/ | ||
public enum EntityEventType { | ||
/** | ||
|
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,6 +19,7 @@ | |
|
||
/** | ||
* @author <a href="mailto:[email protected]">nkorange</a> | ||
* @since 0.7.0 | ||
*/ | ||
public class Label { | ||
|
||
|
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,14 +17,15 @@ | |
|
||
/** | ||
* @author <a href="mailto:[email protected]">nkorange</a> | ||
* @since 0.7.0 | ||
*/ | ||
public enum PreservedEntityTypes { | ||
/** | ||
* | ||
* Ip | ||
*/ | ||
ip, | ||
/** | ||
* | ||
* Service | ||
*/ | ||
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 |
---|---|---|
|
@@ -27,6 +27,7 @@ | |
* Service to visit CMDB store | ||
* | ||
* @author <a href="mailto:[email protected]">nkorange</a> | ||
* @since 0.7.0 | ||
*/ | ||
public interface CmdbService { | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
package com.alibaba.nacos.api.config.convert; | ||
|
||
/** | ||
* Nacos Configuration content Converter | ||
* Nacos Config Converter | ||
* | ||
* @param <T> the target type that wanted | ||
* @author <a href="mailto:[email protected]">Mercy</a> | ||
|
@@ -25,17 +25,17 @@ | |
public interface NacosConfigConverter<T> { | ||
|
||
/** | ||
* Can convert to be target type or not | ||
* can convert to be target type or not | ||
* | ||
* @param targetType the type of target | ||
* @return If can , return <code>true</code>, or <code>false</code> | ||
*/ | ||
boolean canConvert(Class<T> targetType); | ||
|
||
/** | ||
* Convert the Naocs's configuration of type S to target type T. | ||
* convert the Naocs's config of type S to target type T. | ||
* | ||
* @param config the Naocs's configuration to convert, which must be an instance of S (never {@code null}) | ||
* @param config the Naocs's config to convert, which must be an instance of S (never {@code null}) | ||
* @return the converted object, which must be an instance of T (potentially {@code null}) | ||
*/ | ||
T convert(String config); | ||
|
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.