Commit 2f8ae888 by Spencer Gibb

use appGroupName as cluster rather than asgName

parent fe1cadfc
......@@ -61,7 +61,7 @@
## 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
......
......@@ -162,8 +162,9 @@ public class EurekaInstanceDiscovery implements InstanceDiscovery {
* @return
*/
protected String getClusterName(InstanceInfo iInfo) {
return iInfo.getASGName();
//TODO: why did this break things? return iInfo.getAppGroupName();
//TODO: make ASG configurable return iInfo.getASGName();
//AppGroupName is UPPERCASE from eureka
return iInfo.getAppGroupName();
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment