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

zync doesn't refer to http scheme and port number of Public Base URL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.9 GA
    • 2.6 GA
    • Zync
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • No
    • +
    • Workaround Exists
    • Hide

      After routes generated, Configure them manually.

      Show
      After routes generated, Configure them manually.
    • Hide
      1. Create a service
      2. Open Integration page
      3. Click add the base URL of your API and save the configuration
      4. Set http://api-staging.apps.example.com:80 to Staging Public Base URL
      5. Set http://api-production.apps.example.com:80 to Production Public Base URL
      6. Click Update & test in Staging Environment
      7. Open Routes page on OpenShift console

      Actual result:
      tls is enabled in the generated routes.

        tls:
          insecureEdgeTerminationPolicy: Redirect
          termination: edge
      
      Show
      Create a service Open Integration page Click add the base URL of your API and save the configuration Set http://api-staging.apps.example.com:80 to Staging Public Base URL Set http://api-production.apps.example.com:80 to Production Public Base URL Click Update & test in Staging Environment Open Routes page on OpenShift console Actual result: tls is enabled in the generated routes. tls: insecureEdgeTerminationPolicy: Redirect termination: edge
    • 3scale 2019-09-30, 3scale 2019-10-14, 3scale 2019-10-28, 3scale 2019-11-11, 3scale 2019-11-25, 3scale 2019-12-09, 3scale 2019-12-23, 3scale 2020-01-13, 3scale 2020-01-27, 3scale 2020-02-03, 3scale 2020-02-17, 3scale 2020-03-09, 3scale 2020-03-23

      When zync creates routes, it always enables tls and the port is gateway.
      http schemes and port numbers of staging public base URL and production public base URL are ignored.

      https://github.com/3scale/zync/blob/3scale-2.6.0-ER4/app/services/integration/kubernetes_service.rb#L138-L141

              Unassigned Unassigned
              rhn-support-tkonishi Takayuki Konishi
              Jakub Smadis Jakub Smadis (Inactive)
              Hery Ramihajamalala Hery Ramihajamalala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: