-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[type:feat] springcloud plugin dynamic register #5634
Open
WindSearcher
wants to merge
50
commits into
apache:master
Choose a base branch
from
WindSearcher:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
f6e7baa
动态注册中心
WindSearcher 87da45f
Merge remote-tracking branch 'origin/master'
WindSearcher 962ade8
Merge branch 'apache:master' into master
WindSearcher ea02ebf
fix checkstyle
WindSearcher 4174b5e
Merge remote-tracking branch 'origin/master'
WindSearcher 2aa4ac7
fix e2e
WindSearcher afb875a
fix checkstyle
WindSearcher cbbd9f3
Merge branch 'master' into master
Aias00 86439b2
Merge branch 'master' into master
Aias00 599d5f7
Merge branch 'master' into master
Aias00 2cd930b
Merge branch 'master' into master
Aias00 a09c0a2
Merge branch 'master' into master
Aias00 e836753
fix ci
WindSearcher 553a790
Merge remote-tracking branch 'origin/master'
WindSearcher 32f9db7
Merge branch 'master' into master
Aias00 6fa7566
Merge branch 'master' into master
Aias00 004cf41
Merge branch 'master' into master
Aias00 4d8f048
Merge branch 'master' into master
Aias00 f2436de
Merge branch 'master' into master
Aias00 5ca3f42
Merge branch 'master' into master
Aias00 cb96aee
fix ci
WindSearcher 3f78cd5
Merge remote-tracking branch 'origin/master'
WindSearcher 1d61d57
fix ci
WindSearcher ccdf1ae
fix ci
WindSearcher c7955d7
fix ci
WindSearcher 42099d7
fix ci
WindSearcher 00eb26d
Merge branch 'master' into master
Aias00 56a95ba
fix ci
WindSearcher 6a72c70
Merge remote-tracking branch 'origin/master'
WindSearcher 03f2deb
fix ci
WindSearcher 1338c3d
fix ci
WindSearcher 50a0ef2
Merge branch 'master' into master
Aias00 b3449b2
fix ci
WindSearcher 67fbcdd
Merge remote-tracking branch 'origin/master'
WindSearcher a38aba9
fix ci
WindSearcher f322d96
Merge branch 'master' into master
Aias00 79092c3
fix ci
WindSearcher 8b5a210
Merge remote-tracking branch 'origin/master'
WindSearcher 383f57d
fix ci
WindSearcher 9fba108
fix ci
WindSearcher cc324ae
fix ci
WindSearcher fe94876
Merge branch 'master' into master
Aias00 faf60ca
Merge branch 'master' into master
Aias00 fe63d32
fix ci
WindSearcher 78e76b0
fix ci
WindSearcher 620ae65
fix ci
WindSearcher 2f8e1b9
fix ci
WindSearcher 5117ad9
fix ci
WindSearcher 8482107
fix ci
WindSearcher 0a6e2c6
fix ci
WindSearcher File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
49 changes: 49 additions & 0 deletions
49
shenyu-common/src/main/java/org/apache/shenyu/common/constant/DynamicRegisterConstants.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,49 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You 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 org.apache.shenyu.common.constant; | ||
|
||
/** | ||
* DynamicRegisterConstants. | ||
*/ | ||
public class DynamicRegisterConstants { | ||
|
||
/** | ||
* The constant REGISTER_TYPE. | ||
*/ | ||
public static final String REGISTER_TYPE = "registerType"; | ||
|
||
public static final String NACOS = "nacos"; | ||
|
||
public static final String ZOOKEEPER = "zookeeper"; | ||
|
||
public static final String ETCD = "etcd"; | ||
|
||
public static final String EUREKA = "eureka"; | ||
|
||
public static final String SERVER_LISTS = "serverLists"; | ||
|
||
public static final String NAMESPACE = "namespace"; | ||
|
||
public static final String USERNAME = "username"; | ||
|
||
public static final String PASSWORD = "password"; | ||
|
||
public static final String ACCESS_KEY = "accessKey"; | ||
|
||
public static final String SECRET_KEY = "secretKey"; | ||
} |
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
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should not be initialized here. You need to consider getting the latest instance in the method after modification.