private static Map<String, String> buildHeader(String token) {
        Map<String, String> headers = new HashMap<>();
        if (StringUtils.isNotEmpty(token)) {
            headers.put(DS_TOKEN, token);
        }
        return headers;
    }
Builds the header map for HTTP requests, including the authentication token.

@param token The authentication token for the request.
@return A map representing the headers of the HTTP request.
inlong-manager/manager-schedule/src/main/java/org/apache/inlong/manager/schedule/dolphinscheduler/DolphinScheduleUtils.java