Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
discovery
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谢捷峰
discovery
Commits
8fab20db
Commit
8fab20db
authored
Aug 25, 2018
by
Nepxion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改测试用例
parent
12c338dd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
discovery-springcloud-example-gateway/src/main/java/com/nepxion/discovery/plugin/example/gateway/extension/MyDiscoveryEnabledStrategy.java
+1
-1
discovery-springcloud-example-service/src/main/java/com/nepxion/discovery/plugin/example/service/extension/MyDiscoveryEnabledStrategy.java
+1
-1
discovery-springcloud-example-zuul/src/main/java/com/nepxion/discovery/plugin/example/zuul/extension/MyDiscoveryEnabledStrategy.java
+1
-1
No files found.
discovery-springcloud-example-gateway/src/main/java/com/nepxion/discovery/plugin/example/gateway/extension/MyDiscoveryEnabledStrategy.java
View file @
8fab20db
...
...
@@ -19,7 +19,7 @@ import com.nepxion.discovery.plugin.strategy.adapter.DiscoveryEnabledStrategy;
import
com.nepxion.discovery.plugin.strategy.extension.gateway.context.GatewayStrategyContext
;
import
com.netflix.loadbalancer.Server
;
// 实现了组合策略,版本路由策略+自定义策略
// 实现了组合策略,版本路由策略+
区域路由策略+
自定义策略
public
class
MyDiscoveryEnabledStrategy
implements
DiscoveryEnabledStrategy
{
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
MyDiscoveryEnabledStrategy
.
class
);
...
...
discovery-springcloud-example-service/src/main/java/com/nepxion/discovery/plugin/example/service/extension/MyDiscoveryEnabledStrategy.java
View file @
8fab20db
...
...
@@ -23,7 +23,7 @@ import com.nepxion.discovery.plugin.strategy.extension.service.constant.ServiceS
import
com.nepxion.discovery.plugin.strategy.extension.service.context.ServiceStrategyContext
;
import
com.netflix.loadbalancer.Server
;
// 实现了组合策略,版本路由策略+自定义策略
// 实现了组合策略,版本路由策略+
区域路由策略+
自定义策略
public
class
MyDiscoveryEnabledStrategy
implements
DiscoveryEnabledStrategy
{
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
MyDiscoveryEnabledStrategy
.
class
);
...
...
discovery-springcloud-example-zuul/src/main/java/com/nepxion/discovery/plugin/example/zuul/extension/MyDiscoveryEnabledStrategy.java
View file @
8fab20db
...
...
@@ -19,7 +19,7 @@ import com.nepxion.discovery.plugin.strategy.adapter.DiscoveryEnabledStrategy;
import
com.netflix.loadbalancer.Server
;
import
com.netflix.zuul.context.RequestContext
;
// 实现了组合策略,版本路由策略+自定义策略
// 实现了组合策略,版本路由策略+
区域路由策略+
自定义策略
public
class
MyDiscoveryEnabledStrategy
implements
DiscoveryEnabledStrategy
{
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
MyDiscoveryEnabledStrategy
.
class
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment