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

Saving proxy settings is a no-op when Service is on hosted mode

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.7 ER1
    • 2.7 ER1
    • System
    • None
    • 5
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • +
    • 0
    • 0% 0%
    • 3scale 2019-09-30

      When product has APIcast in hosted mode, saving any proxy setting in the new Integration > Settings page of APIAP is a no-op.

      Dev note
      The root cause seems to be a safety mechanism probably introduced to protect Saas: https://github.com/3scale/porta/blob/master/app/lib/api_integration/settings_result.rb#L24

      In the same PR, we also limited the proxy params only to endpoint and sandbox_endpoint https://github.com/3scale/porta/blob/eaf4b508de85199ae0caaa268904880af5bdf445/app/controllers/api/services_controller.rb#L103.

      To be fair though, before that PR, maybe not even the endpoints were being handled by Api::ServicesController, so updating proxy params is probably a bug in that Settings page since introduced.

            Unassigned Unassigned
            mcassola Guilherme Cassolato
            Guilherme Cassolato Guilherme Cassolato
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: