Package com.redhat.parodos.sdkutils
Class NotificationServiceUtils
java.lang.Object
com.redhat.parodos.sdkutils.NotificationServiceUtils
A utility class to ease the writing of new examples.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ApiClientCreates and configures the APIClient using the configuration properties available in environment variables.static voidwaitNotificationStart(ApiClient apiclient) Invokes @see com.redhat.parodos.notification.sdk.api.NotificationRecordApi#getNotifications(Pageable, String, String) and retries for 120 seconds.
-
Method Details
-
getParodosAPiClient
public static ApiClient getParodosAPiClient() throws org.springframework.core.env.MissingRequiredPropertiesExceptionCreates and configures the APIClient using the configuration properties available in environment variables.- Returns:
- the ApiClient
- Throws:
org.springframework.core.env.MissingRequiredPropertiesException
-
waitNotificationStart
Invokes @see com.redhat.parodos.notification.sdk.api.NotificationRecordApi#getNotifications(Pageable, String, String) and retries for 120 seconds.- Parameters:
apiclient- the API Client
-