agentAccessUrl = "https://" + appMasterHostname + ":" + agentWebApp.getSecuredPort();
AgentService agentService =
new AgentService("slider-agent", agentWebApp);
agentService.init(serviceConf);
agentService.start();
addService(agentService);
appInformation.put(StatusKeys.INFO_AM_AGENT_URL, agentAccessUrl + "/");
appInformation.set(StatusKeys.INFO_AM_AGENT_PORT, agentWebApp.getPort());
appInformation.set(StatusKeys.INFO_AM_SECURED_AGENT_PORT,