Layer7 API Management

  • 1.  CA API Gateway Encode/Decode Data Assertion zip decompress

    Posted May 24, 2018 02:20 AM

    Hi all,

     

    I am looking at processing a zip file that has been retrieved via HTTP. To do this I am using the Encode/Decode Data Assertion's Zip Decompress option.

    This option allows(by default) to process only the first file contained in the zip file. This is working in the positive scenario when the first file is what i am interested in.
    Just wondering if there is a way to iterate through the files contained in the zip file and then process the interested file?

    Any help would be just great

    Regards,
    Ram



  • 2.  Re: CA API Gateway Encode/Decode Data Assertion zip decompress
    Best Answer

    Broadcom Employee
    Posted Dec 18, 2018 10:26 PM

    Ram,

     

    Good evening. I've reviewed through the scenario and tested in our lab. The expected results are what you are seeing with only the first file in the zip being extracted and usable. I've created a Idea in our community to allow for the assertion to extract all files in a zip archive (Encode/Decode assertion should unzip all files in a zip archive ). Please up vote the idea and add any additional insight.

     

    Sincerely,

     

    Stephen Hughes

    Broadcom Support