yasithdev opened a new pull request, #655:
URL: https://github.com/apache/airavata/pull/655

   ## Summary
   
   `UserStorageService.moveFile` and `createSymlink` ran `mv` / `ln -s` via 
`adaptor.executeCommand`, but the SFTP storage adaptor does not support command 
execution, so both failed with *"Command execution not supported on storage 
resources"* — the same class of bug just fixed for `deleteFile` (#654). Add 
`moveFile` (SFTP `rename`) and `createSymlink` (SFTP `symlink`) to the storage 
adaptor and call them.
   
   ## Validation
   
   - **Live against the running server:** moving a file relocates it (source 
gone, destination has the content); creating a symlink to a directory resolves 
through the link (listing the link shows the target's contents).
   - `mvn test -pl airavata-api/storage-service,airavata-api/compute-service` → 
35 pass, 0 failures.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to