Skip to content

Feature flag for inbound limits

Overview

The inbound limits feature flag has been introduced to the inbound limits module to easily enable or disable the functionality of inbound limits related operations.

This inbound limits feature flag can be found in src>Services>PayementRepo>EventBus>EventBus.Listener>appsetting.json.

"LimitSettings": { 

    "InboundLimitSetting": { 

        "IsEnabled": false 
    } 
}

How does the inbound limits feature flag work?

This flag can only have two values, true or false, since this is a boolean value. When it is true that indicates calculations related to the inbound limits and all the functionalities related to inbound limits are ready to execute. Once a message with "direction = Inbound" is pushed to the RabbitMQ and passed to the limits module through listener service, inbound flow within the project will start executing and Payment, PaymentScope, PaymentSummary, PaymentSummaryScope tables will be updated accordingly.

When the value is false, that indicates we do not consider inbound limit calculations. Even though message contains "direction = Inbound" project will simply ignore the inbound limits related flow.

Limitations of this feature flag

Currently if we enable or disable this feature flag inbound limits flow will be activated or deactivated for all FIs. We cannot enable or disable this feature FI wise. In future we plan to enhance this to set this feature enabled or disable FI wise.