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.
Merge pull request alibaba#902 from alibaba/feature_naming_group
Feature naming group
- Loading branch information
Showing
201 changed files
with
10,785 additions
and
8,380 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
import java.util.Map; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">nkorange</a> | ||
* @author nkorange | ||
* @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 |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
package com.alibaba.nacos.api.cmdb.pojo; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">nkorange</a> | ||
* @author nkorange | ||
* @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 |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
package com.alibaba.nacos.api.cmdb.pojo; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">nkorange</a> | ||
* @author nkorange | ||
* @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 |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
import java.util.Set; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">nkorange</a> | ||
* @author nkorange | ||
* @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 |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
package com.alibaba.nacos.api.cmdb.pojo; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">nkorange</a> | ||
* @author nkorange | ||
* @since 0.7.0 | ||
*/ | ||
public enum PreservedEntityTypes { | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
/** | ||
* Service to visit CMDB store | ||
* | ||
* @author <a href="mailto:[email protected]">nkorange</a> | ||
* @author nkorange | ||
* @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
34 changes: 34 additions & 0 deletions
34
api/src/main/java/com/alibaba/nacos/api/naming/CommonParams.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,34 @@ | ||
/* | ||
* Copyright 1999-2018 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.api.naming; | ||
|
||
/** | ||
* Common parameters for service discovery | ||
* | ||
* @author nkorange | ||
* @since 1.0.0 | ||
*/ | ||
public class CommonParams { | ||
|
||
public static final String SERVICE_NAME = "serviceName"; | ||
|
||
public static final String CLUSTER_NAME = "clusterName"; | ||
|
||
public static final String NAMESPACE_ID = "namespaceId"; | ||
|
||
public static final String GROUP_NAME = "groupName"; | ||
|
||
} |
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 |
---|---|---|
|
@@ -23,7 +23,7 @@ | |
/** | ||
* Naming Factory | ||
* | ||
* @author dungu.zpf | ||
* @author nkorange | ||
*/ | ||
public class NamingFactory { | ||
|
||
|
Oops, something went wrong.