static Long convertToLong(Object o) {
    if (o.getClass() == Long.class) {
      return (Long) o;
    } else if (o.getClass() == Integer.class) {
      return ((Integer) o).longValue();
    }

    return Long.parseLong(o.toString());
  }
Convert System Env key to Configuration key For Example : AMS_DATABASE_PASSWORD --->
ams.database.password AMS_SERVER__EXPOSE__HOST ---> ams.server-expose-host
amoro-common/src/main/java/org/apache/amoro/config/ConfigHelpers.java