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

If no files are transferred then the YADE Client should return exit code 0 if this was the expected result

    XMLWordPrintable

Details

    Description

      Current Situation

      • When setting the parameter skip_transfer=true the no files will be transferred. After executing the command an error is raised and the client terminates with exit code 99:
      • To reproduce the error use
         /opt/sos-berlin.com/jade/client/bin/jade.sh \
        -operation=copy \
        -source_protocol=sftp \
        -source_user=test \
        -source_host=xxx.xxx.xxx.xxx \
        -source_dir=/home/test/ \
        -source_ssh_auth_method=password \
        -source_password=xxxxx \
        -source_port=22 \
        -target_protocol=local \
        -target_dir=/home/test/xxx \
        -verbose=0 \
        -skip_transfer=true \
        -transactional=false \
        -remove_files=false \
        -verbose=6 \
        -file_spec=^.*$
        
      • This results in an error message such as:
        main INFO  11:42:09,928   (SOSDataExchangeEngine.java:623) ::printState SOSJADE_E_0100: es wurde keine Datei mit einem Namen gefunden der dem regulären Ausdruck '^.*$' entspricht. 
        

      Desired Behavior

      • If no files are transferred and the parameter skip_transfer=true then the YADE Client should terminated with exit code 0.

      Attachments

        Issue Links

          Activity

            People

              oh Oliver Haufe
              ur Uwe Risse
              Oliver Haufe Oliver Haufe
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h