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

Map multiple methods/metrics to a single mapping rule

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 2.0 GA, 2.1 GA, SaaS
    • System
    • 0
    • 0% 0%

      Some mapping rules need to be reported to more than one metric or method. If this is necessary for a large number of mapping rules and methods/metrics the permutations can make it difficult to maintain. An additional mapping rule for each permutation will become unmaintainable.

      Problem

      mapping rule /api/users/

      {id} => method a
      mapping rule /api/users/{id}

      => method b
      mapping rule /api/users/

      {id} => method c
      mapping rule /api/groups => method c
      mapping rule /api/groups => methods d
      mapping rule /api/groups => metric 1

      h3. Solution
      mapping rule /api/users/{id}

      => method a,b,c
      mapping rule /api/groups => methods,c,d & metric 1

            Unassigned Unassigned
            rhn-support-keprice Kevin Price
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: