IBM Support

PH64197: THE EXAMPLES/RESTAPI/README.TXT HAS THE WRONG URL FOR CURL COMMANDS

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 readme.txt file under the <ITX install dir>/examples/restapi
    
    
    directory includes the following curl commands with incorrect
    /tx/ instead of /itx/ in the url:
    
    curl -X PUT -d "test data"
    http://localhost:8080/tx-rest/v1/tx/maps/direct/OneInOneOut
    
    curl -X PUT -d "test data" "http://localhost:8080/tx-rest/v1/tx
    /maps/direct/OneInOneOut?input=1&output=1"
    
    curl -X PUT -d "" "http://localhost:8080/tx-rest/v1/tx/maps/dir
    ect/OneInOneOut?input=1;FILE;/tmp/mydata.txt&output=1"
    
    curl -X PUT -d "test data" "http://localhost:8080/tx-rest/v1/tx
    /maps/direct/OneInOneOut?input=1&output=1&return=audit"
    
    curl -X PUT -F "1=Card1 data" -F "2=Card2 data" "http://localho
    st:8080/tx-rest/v1/tx/maps/direct/TwoInTwoOut?output=1"
    
    curl -X POST -F "1=Card1 data" -F "2=Card2 data" "http://localh
    ost:8080/tx-rest/v1/tx/maps/direct/TwoInTwoOut?output=1,2&retur
    n=audit,trace"
    
    curl -X GET http://localhost:8080/tx-rest/v1/tx/maps/direct/8b1
    f7e5e-5d16-480b-a972-03d66949cf7b/status
    
    curl -X DELETE "http://localhost:8080/tx-rest/v1/tx/maps/direct
    /8b1f7e5e-5d16-480b-a972-03d66949cf7b"
    
    curl -X GET http://localhost:8080/tx-rest/v1/tx/maps/direct/8b1
    f7e5e-5d16-480b-a972-03d66949cf7b/status
    
    curl -X GET "http://localhost:8080/tx-rest/v1/tx/catalog"
    
    curl -X GET "http://localhost:8080/tx-rest/v1/tx/catalog"
    
    curl -X PUT -d "test data"
    "http://localhost:8080/tx-rest/v1/tx/maps/catalog/test/1in1out"
    
    curl -X POST -d "test data"
    "http://localhost:8080/tx-rest/v1/tx/maps/catalog/async/1in1out"
    
    
    curl -X GET "http://localhost:8080/tx-rest/v1/tx/maps/catalog/4
    74c0267-e999-4169-84f7-5c688811beec/status"
    
    curl -X GET "http://localhost:8080/tx-rest/v1/tx/maps/catalog/4
    74c0267-e999-4169-84f7-5c688811beec/outputs/1"
    
    curl -X DELETE "http://localhost:8080/tx-rest/v1/tx/maps/catalo
    g/474c0267-e999-4169-84f7-5c688811beec/"
    

Local fix

  • ITXCQ - ITX00062706
    TR / TR
    Circumvention: Change the /tx-rest/v1/tx/  reference to be
    /tx-rest/v1/itx/ in the curl commands
    

Problem summary

  • Users Affected:
    IBM Transformation Extender users running maps with ITX Rest
    server
    
    Problem Description:
    The examples/restapi/readme.txt has the wrong URL for curl
    commands
    
    Platforms Affected:
    All
    

Problem conclusion

  • The examples/restapi/readme.txt has the wrong URL for curl
    commands, the mentioned example URLs should have "/itx/" part
    instead of /tx/, ITX installation code is changed to generate
    proper URLS in the REST API readme.
    
    Applies to:
    11.0.1.0
    
    Fixed in the next service packs and releases.
    
    To obtain the fix for this APAR:
    
    To see if the next fix pack or product release is available,
    check the IBM Transformation Extender product Release Notes
    page:
    https://www.ibm.com/support/pages/node/318755
    
    If a fix pack release is available, download it from Fix
    Central:
    http://www.ibm.com/support/fixcentral/
    
    If a new product release is available, download it from
    PassportAdvantage:
    https://www.ibm.com/software/passportadvantage/pao_customer.html
    
    
    If the fix pack or product release is not available and you
    require the APAR fix immediately, request a Limited Availability
    Interim Fix (LAIF) by opening a support Case:
    https://www.ibm.com/mysupport
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH64197

  • Reported component name

    ITX

  • Reported component ID

    5724Q2300

  • Reported release

    B01

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-11-18

  • Closed date

    2025-02-13

  • Last modified date

    2025-02-21

  • 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

    ITX

  • Fixed component ID

    5724Q2300

Applicable component levels

[{"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSVSD8","label":"Transformation Extender"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B01"}]

Document Information

Modified date:
22 February 2025