Skip to content

Commit

Permalink
Support Renewal requests events
Browse files Browse the repository at this point in the history
  • Loading branch information
r-s11v committed Jan 30, 2025
1 parent 808327d commit 2c9746a
Show file tree
Hide file tree
Showing 5 changed files with 423 additions and 371 deletions.
7 changes: 7 additions & 0 deletions connect/eaas/runner/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
EventType.ASSET_RESUME_REQUEST_PROCESSING: 'process_asset_resume_request',
EventType.ASSET_CANCEL_REQUEST_PROCESSING: 'process_asset_cancel_request',
EventType.ASSET_ADJUSTMENT_REQUEST_PROCESSING: 'process_asset_adjustment_request',
EventType.ASSET_RENEW_REQUEST_PROCESSING: 'process_asset_renew_request',
EventType.ASSET_PURCHASE_REQUEST_VALIDATION: 'validate_asset_purchase_request',
EventType.ASSET_CHANGE_REQUEST_VALIDATION: 'validate_asset_change_request',
EventType.ASSET_RENEW_REQUEST_VALIDATION: 'validate_asset_renew_request',
EventType.PRODUCT_ACTION_EXECUTION: 'execute_product_action',
EventType.PRODUCT_CUSTOM_EVENT_PROCESSING: 'process_product_custom_event',
EventType.TIER_CONFIG_SETUP_REQUEST_PROCESSING: 'process_tier_config_setup_request',
Expand All @@ -39,8 +41,10 @@
EventType.ASSET_RESUME_REQUEST_PROCESSING,
EventType.ASSET_CANCEL_REQUEST_PROCESSING,
EventType.ASSET_ADJUSTMENT_REQUEST_PROCESSING,
EventType.ASSET_RENEW_REQUEST_PROCESSING,
EventType.ASSET_PURCHASE_REQUEST_VALIDATION,
EventType.ASSET_CHANGE_REQUEST_VALIDATION,
EventType.ASSET_RENEW_REQUEST_VALIDATION,
)

TIER_CONFIG_REQUEST_EVENT_TYPES = (
Expand All @@ -63,6 +67,7 @@
EventType.ASSET_RESUME_REQUEST_PROCESSING,
EventType.ASSET_CANCEL_REQUEST_PROCESSING,
EventType.ASSET_ADJUSTMENT_REQUEST_PROCESSING,
EventType.ASSET_RENEW_REQUEST_PROCESSING,
EventType.TIER_CONFIG_SETUP_REQUEST_PROCESSING,
EventType.TIER_CONFIG_CHANGE_REQUEST_PROCESSING,
EventType.TIER_CONFIG_ADJUSTMENT_REQUEST_PROCESSING,
Expand All @@ -77,6 +82,7 @@
INTERACTIVE_EVENT_TYPES = (
EventType.ASSET_PURCHASE_REQUEST_VALIDATION,
EventType.ASSET_CHANGE_REQUEST_VALIDATION,
EventType.ASSET_RENEW_REQUEST_VALIDATION,
EventType.TIER_CONFIG_SETUP_REQUEST_VALIDATION,
EventType.TIER_CONFIG_CHANGE_REQUEST_VALIDATION,
EventType.PRODUCT_ACTION_EXECUTION,
Expand All @@ -86,6 +92,7 @@
VALIDATION_EVENT_TYPES = (
EventType.ASSET_PURCHASE_REQUEST_VALIDATION,
EventType.ASSET_CHANGE_REQUEST_VALIDATION,
EventType.ASSET_RENEW_REQUEST_VALIDATION,
EventType.TIER_CONFIG_SETUP_REQUEST_VALIDATION,
EventType.TIER_CONFIG_CHANGE_REQUEST_VALIDATION,
)
Expand Down
Loading

0 comments on commit 2c9746a

Please sign in to comment.