IBM Support

IT24132: REST APIs - ROUTINGCHANNEL, SEARCHBYCONSUMER, SEARCHBYPRODUCER AND SEARCHBYTEMPLATE USE WILDCARDS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • REST API RoutingChannel API searchByProducer, searchByProducer
    and searchByTemplate use wildcards and do not return exact
    results.
    
    
    For example this call:
    
    http://xxx.xxx.xxx.xxx:5074/B2BAPIs/svc/routingchannels/?searchB
    yP roducer=PROD
    
    Returns all RoutingChannels with a producer starting with
    PROD and not equal to PROD.
    For this, all RoutingChannels with producers like
    PROD1, PROD2,... PROD1000 will be returned.
    
    It seems a LIKE operator is used in the SQL query and not equal
    =.
    
    Same problem observed with:
    
    searchByConsumer, searchByProducer and searchByTemplate.
    
    The problem here is, if you put PROD or PROD% it will always
    search for consumers starting with PROD and not equal to PROD.
    

Local fix

  • RTC -  553754
    

Problem summary

  • Users Affected:
    All
    
    Probelem Description:
    
    REST APIs -  RoutingChannel API searchByConsumer,
    searchByProducer and searchByTemplate use wildcards and do not
    return exact results.
    
    Platforms Affected:
    All
    

Problem conclusion

  • Resolution Summary:
    
    A code fix is provided.
    
    Delivered In:
    5020603_6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT24132

  • Reported component name

    STR FILE GATEWA

  • Reported component ID

    5725D0700

  • Reported release

    226

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-02-20

  • Closed date

    2018-07-12

  • Last modified date

    2018-07-13

  • 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

    STR FILE GATEWA

  • Fixed component ID

    5725D0700

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS4TGX","label":"Sterling File Gateway"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"2.2","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
11 September 2024