Class ExternalGetOltApiClient

java.lang.Object
org.bgerp.plugin.bgb.getolt.dao.ExternalGetOltApiClient

public class ExternalGetOltApiClient extends Object
Thin HTTP proxy to the External API of the standalone GetOLT v2 service. Returns raw JSON body — no DTOs, parsing and rendering happen on the client. Used by the "Mass incident" tab (spec #11). X-API-Key header, one retry on 5xx/IOException.
  • Constructor Details

    • ExternalGetOltApiClient

      public ExternalGetOltApiClient(String baseUrl, String apiKey, int timeoutMs, boolean trustSelfSigned)
      Parameters:
      baseUrl - base URL of the External API, including the path prefix
      apiKey - value of the X-API-Key header
      timeoutMs - connection and read timeout
      trustSelfSigned - trusts the service certificate without checking the chain
  • Method Details