Direct Known Subclasses:
GAFRESTClient, SurveyActionRESTClient, WatchdogActionRESTClient

public class OCFRESTClient extends FFDCRESTClient
OCFRESTClient is responsible for issuing calls to the OCF Management REST APIs.
  • Constructor Details

    • OCFRESTClient

      public OCFRESTClient(String serverName, String serverPlatformURLRoot, String localServerSecretsStoreProvider, String localServerSecretsStoreLocation, String localServerSecretsStoreCollection, AuditLog auditLog) throws InvalidParameterException
      Constructor for no authentication with audit log.
      Parameters:
      serverName - name of the OMAG Server to call
      serverPlatformURLRoot - URL root of the server platform where the OMAG Server is running.
      localServerSecretsStoreProvider - secrets store connector for bearer token
      localServerSecretsStoreLocation - secrets store location for bearer token
      localServerSecretsStoreCollection - secrets store collection for bearer token
      auditLog - destination for log messages.
      Throws:
      InvalidParameterException - there is a problem creating the client-side components to issue any REST API calls.
  • Method Details