List<ApplicationAlias> applicationAliasList = new ArrayList<ApplicationAlias>();
try {
ConfigurationParametersResponse res = client.configurationParameters(appId, "application");
if (res.getConfiguration() != null) {
ConfigParameters configParameters = ConfigParameters.parse(res.getConfiguration());
ParameterMap parameterMap = configParameters.getParameters();
String param = parameterMap.get("blue-green");
if (param != null) {
ApplicationAlias bgApp = new ApplicationAlias(getAccount(), param);
// Get the current alias if any
ApplicationInfo applicationInfo = client.applicationInfo(appId);