IBM Support

IT42361: DEPLOYING RESOURCES TO EG VIA RESTAPI DOC MISSING HEADER OPTION 'CONTENT-DISPOSITION: ATTACHMENT; FILENAME=<BARFILENAME>' &#160;

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as documentation error.

Error description

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of App Connect Enterprise V11.0 and V12.0 who deploy
    bar file using RestAPI
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    The name of bar file deployed to a stand alone integration
    server  or to a node managed integration server using RestAPI is
    being displayed as 'rest-deploy.bar' instead of original bar
    file name in WebUI, syslog, toolkit and in the mqsilist command
    output.
    
    The example curl command to deploy bar file given in the
    documentation page is not showing the header option
    'CONTENT-DISPOSITION: ATTACHMENT; FILENAME=<BARFILENAME>', which
    will help to display the actual bar file name being deployed.
    

Problem conclusion

  • The product documentation
    page(https://www.ibm.com/docs/en/app-connect/12.0?topic=api-depl
    oying-resources-integration-server) will be updated with the
    following curl command that shows the use of http header
    'CONTENT-DISPOSITION: ATTACHMENT; FILENAME=<BARFILENAME>' while
    deploying the bar file
    
    curl -X POST "http://hostname:port/apiv2/deploy?delete-all=true"
    -H 'accept:application/json' -H
    'content-type:application/octet-stream' -H 'content-disposition:
    attachment; filename=httpreqreply.bar' --data-binary
    @/tmp/httpreqreply.bar
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT42361

  • Reported component name

    APP CONNECT ENT

  • Reported component ID

    5724J0550

  • Reported release

    B00

  • Status

    CLOSED DOC

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-10-28

  • Closed date

    2023-02-03

  • Last modified date

    2023-02-03

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

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

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSDR5J","label":"IBM App Connect Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B00","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
08 February 2023