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

DO328v3.1:ch03s13 : Header-based routing Route requests with user-agent: Internal-QA-Team/1.0 header to the reviews-v3 service (QA testing only)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • DO328 - OSSM3.x NEXT
    • DO328 - OSSM3.1-en-3-20260206
    • DO328
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 3
    • en-US (English)
    • Sprint 106

      Please fill in the following information:


      URL: https://role.rhu.redhat.com/rol-rhu/app/courses/do328-3.1/pages/ch03s13
      Reporter RHNID: llevy@redhat.com 
      Section Title:    Lab: Managing Traffic with OpenShift Service Mesh
                                                                          

      Issue description: Feedback from Leon Levy : llevy@redhat.com

       

        ad0008l-3.1 + in the lab: Lab: Managing Traffic with OpenShift Service Mesh

      the requirement for exercise 4 :

      Header-based routing Route requests with user-agent: Internal-QA-Team/1.0 header to the reviews-v3 service (QA testing only)

      in my solution, which the grading system accepted, is:

      • match:
         - headers:
         user-agent:
         exact: Internal-QA-Team/1.0

      differs from the solution
       - match: 1
       - headers:
       user-agent:
       regex: ".Internal."

      Both would work as intended, but I believe my solution would be more correct, since it is enforcing a specific header, not a header with regex, since a different header than what is specified could be used as well in that instance, bypassing the header routing specifications.

      I am wondering if the certification exam is as ambiguous as well.

       

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

              jcardoso@redhat.com Jose Henrique Cardoso
              chetan-rhls Chetan Tiwary
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: