Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-1893 Improvements in automatic suspension and deletion of tenants
  3. THREESCALE-2131

Allow configuration and enable feature: automatically suspending and scheduling for deletion

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • System
    • 3scale 2019-03-11, 3scale 2019-03-25, 3scale 2019-04-08

      Account::States::MAX_PERIOD_OF_SUSPENSION, Account::States::MAX_PERIOD_OF_INACTIVITY, Contract::MAX_UNPAID_TIME are configurable now. On-premises by default does not have it so by default automatically suspending and scheduling for deletion is a disabled feature and it is only enabled if a correct configuration is set, and if it is wrong, we show a warning but we boot anyway and it is a disabled feature.

      An example of this configuration file is in GH in porta/config/examples/features.yml
      You can know if you have it correctly configured by typing in the rails console AccountDeletionConfig.valid?

              Unassigned Unassigned
              mnoyabon Marta Noya (Inactive)
              Jakub Smolár Jakub Smolár
              Marta Noya Marta Noya (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: