Pentaho

 View Only
  • 1.  Using S3 REST API to upload file using Pentaho REST Client

    Posted 08-07-2023 04:46

    We get Error 400 while using Amazon S3 REST API to upload a file using Pentaho REST Client.

    The same REST API Body works fine using POSTMAN client.

    Has anyone tried this before? Does this work?

    Is there an alternative using HTTP POST step to do the same?



    ------------------------------
    Sachin Tappe
    Others
    BMC Software
    ------------------------------



  • 2.  RE: Using S3 REST API to upload file using Pentaho REST Client

    Posted 08-08-2023 08:47

    Can you share the error log?

    In the worse case you can use curl to send the query to the API and call the curl using Pentaho's Shell (Linux) or CMD steps (Windows). 



    ------------------------------
    Juan Sierra Pons
    Systems Engineer
    Juan Sierra Pons
    ------------------------------



  • 3.  RE: Using S3 REST API to upload file using Pentaho REST Client

    Posted 08-08-2023 09:46

    You can use the virutal filesystem and an S3 VFS Connection.  Then just use the file output step to create the files directly.  If you already have the files and are simply trying to move them to S3 you can do the same with the copy files job entry.



    ------------------------------
    Stephen Donovan
    General IT Consulting & Implementation Pre-eminent Professional
    Hitachi Vantara
    ------------------------------