Class ValidationConstants.OsmosisValidationConstants
java.lang.Object
com.bluebell.greenhouse.platform.constants.validation.ValidationConstants.OsmosisValidationConstants
- Enclosing class:
ValidationConstants
Osmosis validation and error messages.
- Version:
- 3.0.5
- Author:
- Stephen Prizio
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValidation message used when cleanup is missing both category and ticker targets.static final StringValidation message used when cleanup is missing the target exchange value.static final StringValidation message used when cleanup was given both category and ticker targets.static final StringError message used when the enrichment confidence value falls outside the accepted range.static final StringError message used when the enrichment response body is empty.static final StringError message used when an enriched exchange MIC is not in the exchange registry.static final StringValidation message used when the exchange registry path dependency isnull.static final StringValidation message used when the exchange registry service dependency isnull.static final StringValidation message used when exchange-update args are provided without enabling cleanup.static final StringError message used when a JSON object cannot be read from disk.static final StringError message used when the exchange registry is missing the exchanges array.static final StringError message used when a file should deserialize into a JSON object.static final StringError message used when an enriched source URL is not a valid HTTP(S) URL.static final StringError message used when an enriched website is not a valid HTTP(S) URL.static final StringValidation message used when a request limit is invalid.static final StringValidation message used when the OpenAI integration service dependency isnull.static final StringValidation message used when an enrichment request isnull.static final StringValidation message used when requested attributes are empty.static final StringValidation message used when requested attributes arenull.static final StringValidation message used when the symbol enrichment strategy dependency isnull.static final StringValidation message used when the symbol registry service dependency isnull.static final StringError message used when an explicitly requested ticker is not in the target category.static final StringValidation message used when tickers arenull.static final StringError message used when enrichment fails without a specific upstream message. -
Method Summary
-
Field Details
-
OPEN_AI_INTEGRATION_SERVICE_CANNOT_BE_NULL
Validation message used when the OpenAI integration service dependency isnull.- See Also:
-
SYMBOL_ENRICHMENT_STRATEGY_CANNOT_BE_NULL
Validation message used when the symbol enrichment strategy dependency isnull.- See Also:
-
SYMBOL_REGISTRY_SERVICE_CANNOT_BE_NULL
Validation message used when the symbol registry service dependency isnull.- See Also:
-
EXCHANGE_REGISTRY_SERVICE_CANNOT_BE_NULL
Validation message used when the exchange registry service dependency isnull.- See Also:
-
EXCHANGE_REGISTRY_PATH_CANNOT_BE_NULL
Validation message used when the exchange registry path dependency isnull.- See Also:
-
REQUEST_CANNOT_BE_NULL
Validation message used when an enrichment request isnull.- See Also:
-
REQUESTED_ATTRIBUTES_CANNOT_BE_NULL
Validation message used when requested attributes arenull.- See Also:
-
REQUESTED_ATTRIBUTES_CANNOT_BE_EMPTY
Validation message used when requested attributes are empty.- See Also:
-
TICKERS_CANNOT_BE_NULL
Validation message used when tickers arenull.- See Also:
-
LIMIT_MUST_BE_GREATER_THAN_ZERO
Validation message used when a request limit is invalid.- See Also:
-
EXCHANGE_UPDATE_ARGUMENTS_REQUIRE_CLEAN_UP_EXCHANGES
Validation message used when exchange-update args are provided without enabling cleanup.- See Also:
-
CLEAN_UP_EXCHANGES_REQUIRES_EXCHANGE
Validation message used when cleanup is missing the target exchange value.- See Also:
-
CLEAN_UP_EXCHANGES_REQUIRES_CATEGORY_OR_TICKER
Validation message used when cleanup is missing both category and ticker targets.- See Also:
-
CLEAN_UP_EXCHANGES_TARGETS_ARE_MUTUALLY_EXCLUSIVE
Validation message used when cleanup was given both category and ticker targets.- See Also:
-
INVALID_JSON_OBJECT
Error message used when a file should deserialize into a JSON object.Placeholders:
%s= file description;%s= file path.- See Also:
-
FAILED_TO_READ_JSON_OBJECT
Error message used when a JSON object cannot be read from disk.Placeholders:
%s= file description;%s= file path.- See Also:
-
INVALID_EXCHANGE_REGISTRY_ARRAY
Error message used when the exchange registry is missing the exchanges array.Placeholders:
%s= exchange registry path;%s= missing field name.- See Also:
-
TICKER_NOT_FOUND_IN_CATEGORY
Error message used when an explicitly requested ticker is not in the target category.Placeholders:
%s= ticker;%s= category.- See Also:
-
UNKNOWN_ENRICHMENT_FAILURE
Error message used when enrichment fails without a specific upstream message.- See Also:
-
EMPTY_ENRICHMENT_RESPONSE
Error message used when the enrichment response body is empty.- See Also:
-
INVALID_WEBSITE_URL
Error message used when an enriched website is not a valid HTTP(S) URL.Placeholder:
%s= invalid website value.- See Also:
-
INVALID_SOURCE_URL
Error message used when an enriched source URL is not a valid HTTP(S) URL.Placeholder:
%s= invalid source URL value.- See Also:
-
EXCHANGE_NOT_PRESENT_IN_REGISTRY
Error message used when an enriched exchange MIC is not in the exchange registry.Placeholder:
%s= invalid exchange MIC.- See Also:
-
CONFIDENCE_OUT_OF_RANGE
Error message used when the enrichment confidence value falls outside the accepted range.Placeholder:
%s= invalid confidence value.- See Also:
-