Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-3571

Cannot destroy a BackendApi used by Services

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • System
    • None
    • 2
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • +
    • 3scale 2019-09-30

      • Cannot destroy a BackendApi being used by services (except if it is destroyed by association, which in this case means if it is destroying the whole tenant).
        It is validated from the model and automatically applied to all our controllers (UI and API) and deletion workers (in this case, when destroying the whole tenant).
      • Since we do not allow to delete it if it has services, it is useful for the tenant to see the services using the backend api when making a show request to the API
      • When tries to destroy via the controller of the UI (skipping the UI itself), it shows an accurate and understandable error message.

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

                Created:
                Updated:
                Resolved: