Class NotificationServiceUtils

java.lang.Object
com.redhat.parodos.sdkutils.NotificationServiceUtils

public abstract class NotificationServiceUtils extends Object
A utility class to ease the writing of new examples.
  • Method Details

    • getParodosAPiClient

      public static ApiClient getParodosAPiClient() throws org.springframework.core.env.MissingRequiredPropertiesException
      Creates and configures the APIClient using the configuration properties available in environment variables.
      Returns:
      the ApiClient
      Throws:
      org.springframework.core.env.MissingRequiredPropertiesException
    • waitNotificationStart

      public static void waitNotificationStart(ApiClient apiclient)
      Invokes @see com.redhat.parodos.notification.sdk.api.NotificationRecordApi#getNotifications(Pageable, String, String) and retries for 120 seconds.
      Parameters:
      apiclient - the API Client