@Override
  public String getUrl(Cluster cluster, String hostName)
      throws SystemException {

    Map<String, String> atlasConfig = cluster.getDesiredConfigByType(CONFIG_APPLICATION_PROPERTIES).getProperties();

    boolean useHttps = Boolean.parseBoolean(getConfigValue(atlasConfig, PROPERTY_ENABLE_TLS, "false"));

    String port = useHttps ?
        getConfigValue(atlasConfig, PROPERTY_SERVER_HTTPS_PORT, "21443") :
        getConfigValue(atlasConfig, PROPERTY_SERVER_HTTP_PORT, "21000");

    return String.format(URL_TEMPLATE, useHttps ? "https" : "http", hostName, port);
  }
Atlas server specific HTTP property request.
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AtlasServerHttpPropertyRequest.java