You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2020/05/03 19:28:06 UTC

[airavata-mft] branch master updated (130d5a9 -> 601b272)

This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-mft.git.


    from 130d5a9  adding ftp module to the transport build
     new 0754676  Readme Update
     new 601b272  Update README.md

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 README.md | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


[airavata-mft] 02/02: Update README.md

Posted by di...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-mft.git

commit 601b2725b765f352058978f8509a71d58e8f56e8
Author: Gopi kiran <61...@users.noreply.github.com>
AuthorDate: Sun May 3 15:23:55 2020 -0400

    Update README.md
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index e82505d..f0da0f0 100755
--- a/README.md
+++ b/README.md
@@ -74,7 +74,7 @@ public class SampleClient {
             try {
                 TransferStateApiResponse transferState = client.getTransferState(TransferStateApiRequest.newBuilder().setTransferId(transferApiResponse.getTransferId()).build());
                 System.out.println("Latest Transfer State " + transferState.getState());
-                if (transferState.getState().equals("COMPLETED")) {
+                if ("COMPLETED".equals(transferState.getState()) || "FAILED".equals(transferState.getState()) {
                     break;
                 }
 


[airavata-mft] 01/02: Readme Update

Posted by di...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-mft.git

commit 07546764e4bebfb45bce1f5a2af1be4cf770e0c3
Author: Gopi kiran <61...@users.noreply.github.com>
AuthorDate: Thu Apr 30 19:29:02 2020 -0400

    Readme Update
    
    Updating the client code to break when the transfer is completed and adding "start agent" part
---
 README.md | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index ee92cac..e82505d 100755
--- a/README.md
+++ b/README.md
@@ -7,6 +7,7 @@ Airavata Managed File Transfer Service and Clients
 * Start SecretServiceApplication
 * Start MftController
 * Start ApiServiceApplication
+* Start the agent
 
 ## Building from the script
 
@@ -73,6 +74,9 @@ public class SampleClient {
             try {
                 TransferStateApiResponse transferState = client.getTransferState(TransferStateApiRequest.newBuilder().setTransferId(transferApiResponse.getTransferId()).build());
                 System.out.println("Latest Transfer State " + transferState.getState());
+                if (transferState.getState().equals("COMPLETED")) {
+                    break;
+                }
 
             } catch (Exception e) {
                 System.out.println("Errored " + e.getMessage());
@@ -81,4 +85,4 @@ public class SampleClient {
         }
     }
 }
-```
\ No newline at end of file
+```