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

camel case form of productSystemName doesn't work in OpenAPI CR

XMLWordPrintable

    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • RHOAM Sprint 46

      I've set productSystemName in OpenAPI CR to "productSystemName" and it propagates to Product and Backend "system_name" as "productsystemname" and to backend usage to

      backendUsages:
          productSystemName:
            path: /
      

      which leads to error

       spec.backendUsages[productSystemName]: Invalid value:
              v1beta1.BackendUsageSpec{Path:"/"}: backend usage does not have valid
              backend reference.
      
      

      HOW

      Update the Open API Status to report a validation error. 

      Backend CR might need a Status update to a validation message also. 

      Can we enforce a syntax in the CRD? see this

              Unassigned Unassigned
              mkudlej@redhat.com Martin Kudlej
              Martin Kudlej Martin Kudlej
              Michal Stokluska Michal Stokluska
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: