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

Breaking change to the proxy configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.9 GA
    • SaaS
    • System
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Engineering

      When running nightly testing pipelines on the 3scale istio adapter against master we are seeing the following error when decoding the proxy configuration:

      decoding error - json: cannot unmarshal number into Go struct field Content.end_user_registration_required of type bool

      Upon investigation we see that at some point the end_user_registration_required field has had its value changed from true to 1 . This breaks the serialisation in go which we depend on causing the adapter to return an error to the user.

      If 2.9 ships without this fix it will break the Istio adapter

      Dev Notes

      This is because this feature (End-users) has been recently removed.
      The DB attribute end_user_registration_required is still there (but about to be removed soon). They shouldn't be getting it in the API response.

              Unassigned Unassigned
              pgough@redhat.com Philip Gough
              Guilherme Cassolato Guilherme Cassolato
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: