Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
2f8ae888
Commit
2f8ae888
authored
Jul 15, 2014
by
Spencer Gibb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use appGroupName as cluster rather than asgName
parent
fe1cadfc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
RUNNING.md
RUNNING.md
+1
-1
EurekaInstanceDiscovery.java
...ing/platform/netflix/turbine/EurekaInstanceDiscovery.java
+3
-2
No files found.
RUNNING.md
View file @
2f8ae888
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
## Netflix Turbine
## Netflix Turbine
`spring-platform-netflix-turbine$ java -jar target/spring-platform-netflix-turbine-1.0.0.BUILD-SNAPSHOT.war --InstanceDiscovery.impl=io.spring.platform.netflix.turbine.EurekaInstanceDiscovery --turbine.appConfig=samplefrontendservice --turbine.aggregator.clusterConfig=
sampleApps
--turbine.instanceUrlSuffix=/hystrix.stream --turbine.instanceInsertPort=true`
`spring-platform-netflix-turbine$ java -jar target/spring-platform-netflix-turbine-1.0.0.BUILD-SNAPSHOT.war --InstanceDiscovery.impl=io.spring.platform.netflix.turbine.EurekaInstanceDiscovery --turbine.appConfig=samplefrontendservice --turbine.aggregator.clusterConfig=
SAMPLEAPPS
--turbine.instanceUrlSuffix=/hystrix.stream --turbine.instanceInsertPort=true`
## Sandbox Sample Backend
## Sandbox Sample Backend
...
...
spring-platform-netflix-turbine/src/main/java/io/spring/platform/netflix/turbine/EurekaInstanceDiscovery.java
View file @
2f8ae888
...
@@ -162,8 +162,9 @@ public class EurekaInstanceDiscovery implements InstanceDiscovery {
...
@@ -162,8 +162,9 @@ public class EurekaInstanceDiscovery implements InstanceDiscovery {
* @return
* @return
*/
*/
protected
String
getClusterName
(
InstanceInfo
iInfo
)
{
protected
String
getClusterName
(
InstanceInfo
iInfo
)
{
return
iInfo
.
getASGName
();
//TODO: make ASG configurable return iInfo.getASGName();
//TODO: why did this break things? return iInfo.getAppGroupName();
//AppGroupName is UPPERCASE from eureka
return
iInfo
.
getAppGroupName
();
}
}
/**
/**
...
...
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