IBM Support

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

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

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



Document information

More support for: IBM DataPower Gateways
General

Software version: 18X

Reference #: IT30171

Modified date: 17 October 2019