[springcloud]动态修改注册到Eureka的应用名

#!/bin/sh
location="/Users/danni/work/svn/git248/baseline/microservice-framework/springcloud-microservice/common-config-server/target"
app_classpath="$location/lib/*:$location/classes/"
export CLASSPATH=$app_classpath:$CLASSPATH
java com.asiainfo.ConfigServerApplication --spring.application.name=AAA

转载于:https://my.oschina.net/u/2464371/blog/3066610

你可能感兴趣的:(java,运维)