Uploaded image for project: 'Managed Service - API'
  1. Managed Service - API
  2. MGDAPI-4763

Ensure a tenant can only create 1 APIManagementTenant CR

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 1.33.0
    • None
    • None
    • RHOAM Sprint 32, RHOAM Sprint 33, RHOAM Sprint 34, RHOAM Sprint 35, RHOAM Sprint 36, RHOAM Sprint 37

      WHAT
      When a tenant in multi tenant rhoam creates a APIManagementTenant CR it generates a 3scale account. Creating more than 1 CR can be problematic.

      Add verification to the controller to ensure that the user does not have an APIManagementTenant CR already in either the dev or stg namespace. If they do add a warning to the second CR informing them that they can not have more than 1 APIManagementTenant CR

      HOW
      This is already partially implemented, see here. Updated this to check for any status excluding WontProvisionTenant. 

      Alter the alert such that it will not fire based on a WontProvisionTenant status, i.e. exclude these cases from the alert.

      TESTS
      <List of related tests>

      DONE

      • Install multi-tenant RHOAM
      • Setup testing IDP
      • Ensure that you will get won't provision status if there is user present already and that alert not fire, if this status is present

              apecha-csqe Aleš Pecha
              bgallagh@redhat.com Brian Gallagher
              Carl Kyrillos Carl Kyrillos
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: