Uploaded image for project: 'YADE - Yet Another Data Exchange Tool'
  1. YADE - Yet Another Data Exchange Tool
  2. YADE-544

REST Web Service should be supported by YADE to transfer files

    XMLWordPrintable

Details

    • Feature
    • Status: Deferred (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Feature

      • YADE provides the functionality to transfer the files using FTP, FTPS, SFTP, etc.
      • YADE should also support REST Web Service in order to transfer files.
      • For example if we can use the below REST Web Service via CURL to upload or download files:
        • CURL command to upload file
          • curl --request POST \
            --url {{ API_TO_UPLOAD }} \
            --header ' Cache-Control: no-cache ' \
            --header ' Content-Type: {{application / json }}'
            --header ' X-access-token: {{ ACCESS_TOKEN }} ' \
            --form 'file = FILE_PATH' \
            --form ' jobschedulerId = {{ JOBSCHEDULER_ID }} '
        • CURL command to download file
          • curl --request POST \
            --url {{ API_TO_DOWNLOAD }} \
            --header ' Cache-Control: no-cache ' \
            --header ' Content-Type: {{application / json }}'
            --header ' X-access-token: {{ ACCESS_TOKEN }} ' \
            --form 'file = FILE_PATH' \
            --form ' jobschedulerId = {{ JOBSCHEDULER_ID }} '
      • Then YADE job should provide the corresponding XML element/ attributes and job parameters which can support REST Web Service to upload and download files.

      Attachments

        Activity

          People

            re Robert Ehrlich
            Kanika-Agrawal Kanika Agrawal
            Kanika Agrawal Kanika Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: