IBM Support

IT30171: INCONSISTENT API DOWNSTREAM ROUTING BEHAVIOR CAUSED BY PARTIAL MATCH IN PATH TEMPLATE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The routing process  is allowing partial match in path
    templating (configure the value of path with path parameters).
    As a result we see unexpected routing when you have for example
    an API Swagger containing operations with the following pattern:
    Operation 1. GET
    /{payment-service}/{payment-product}/{paymentId}
    Operation 2. GET
    /{payment-service}/{payment-product}/{paymentId}/status
    When you invoke the second operation in the API, the substitued
    value ("payments") for the variable "/{payment-service} "
    is removed from the target backend url,
    We see invoked:
    /sepa-credit-transfers/915005503046948/status
    but it should be instead
    /payments/sepa-credit-transfers/915005503046948/status.
    

Local fix

Problem summary

  • Inconsistent API downstream routing behavior caused by partial
    match in path templating.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT30171

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    18X

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-09-03

  • Closed date

    2019-10-12

  • Last modified date

    2019-10-17

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DATAPOWER

  • Fixed component ID

    DP1234567

Applicable component levels

  • R18X PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateways"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"18X"}]

Document Information

Modified date:
28 September 2021