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

APIcast self-managed full policy list phase 2 - add configuration of policies per tenant

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 2.5 GA
    • System
    • 8
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Engineering
    • 3scale 2019-08-12, 3scale 2019-08-26, 3scale 2019-09-09, 3scale 2019-10-28, 3scale 2019-11-11, 3scale 2019-11-25

      Please read THREESCALE-1966. It was the parent task of this issue but had to be rearranged because...jira.

      Dev notes

      Estimate is for implementing phase 2 of the parent issue:

      Phase 2

      THREESCALE-2699
      2. Create a table gateway_settings where we will be storing the apicast_default_policies_url (It could be stored as a JSON so it will be more flexible to add non-indexed fields later)
      3. When a service is using APIcast self-managed, then the default URL (1) will be used
      4. There will be in the UI/API a way to set the apicast_default_policies_url so that it will override the default (3)

      1. mockup for field, label, and place in navigation
      2. Create a table gateway_settings where we will be storing the apicast_default_policies_url (It could be stored as a JSON so it will be more flexible to add non-indexed fields) DONE in https://github.com/3scale/porta/commit/ab25b6cebdb808697cf59a04a5276e959593ad1c
      3. When a service is using APIcast self-managed, then the default URL (1) will be used
      4. There will be in the UI/API a way to set the apicast_default_policies_url so that it will override the default (3)

      Implementation details:

      We would need to modify https://github.com/3scale/porta/blob/ee40057e6bb2922be9f68223e2d27f6c2fb68d8f/app/services/policies/policies_list_service.rb#L15-L17

      To accept if it is self-managed or hosted and use the proper URL accordingly

              Unassigned Unassigned
              hramihaj Hery Ramihajamalala (Inactive)
              Jakub Smadis Jakub Smadis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: