Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-8355

DO328-60: Ch04s07 : grading script fails if http is not in uppercase

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • DO328 - SM2.x NEXT
    • DO328 - SM2.0-en-2-20230112
    • DO328
    • None
    • 4
    • ROLE
    • en-US (English)

      URL: https://rol.redhat.com/rol/app/courses/do328-2.0/pages/ch04s07
      Reporter RHNID: ctiwary@redhat.com
      Section: 7 - Lab: Controlling Service Traffic
      Language: en-US (English)
      Workaround:

      Description: CH04s07 : Lab: Controlling Service Traffic The grading script fails the ingress gateway portion if the spec->servers->port->protocol is not capitalized. I.E. if the protocol is "http" instead of "HTTP" the grading script fails that section .

      If you refer ch04s05 : at the bottom : there is a reference istio doc URL
      :https://istio.io/v1.6/docs/tasks/traffic-management/egress/egress-control/
      and also here :
      https://istio.io/latest/docs/examples/microservices-istio/istio-ingress-gateway/
      the protocol value is HTTP ( capitalised ). But The issue
      is that ISTIO accepts lower or upper case, so when you get to the end and
      you fail because of capitalization even though the application is working
      as required there is a bug somewhere. Either it is in the grading script or
      the component itself. I would posit that the grading script should test the
      functionality and not grep for case sensitive entries.

            gls-curriculum-ocp-adv@redhat.com PTL - AppDev Team
            chetan-rhls Chetan Tiwary
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: