@@ -0,0 +1,892 @@
+package io.teiler.api.endpoint.util;%0A%0Aimport org.springframework.boot.context.embedded.LocalServerPort;%0Aimport org.springframework.http.HttpEntity;%0Aimport org.springframework.http.HttpHeaders;%0Aimport org.springframework.stereotype.Service;%0A%0A@Service%0Apublic class Util %7B%0A    @LocalServerPort%0A    private int port;%0A%0A    public int getPort() %7B%0A        return port;%0A    %7D%0A%0A    /**%0A     * This method simplifies generating a request prefilled with our header.%0A     * @param headerContent Content of our %3Ccode%3EX-Teiler-GroupID header%3C/code%3E%0A     * @return Prefilled HTTP entity with our headers.%0A     */%0A    public static HttpEntity getHttpEntityWithHeader(String headerContent) %7B%0A        HttpHeaders requestHeaders = new HttpHeaders();%0A        requestHeaders.add(%22X-Teiler-GroupID%22, headerContent);%0A        HttpEntity entity = new HttpEntity(null, requestHeaders);%0A        return entity;%0A    %7D%0A%0A%7D%0A

add Util for constructing request header