You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Chathura Herath (Created) (JIRA)" <ji...@apache.org> on 2011/12/17 05:44:31 UTC

[jira] [Created] (AIRAVATA-232) GridFTPFileTransferClient has file paths that refer to a local file paths need to generalize this

GridFTPFileTransferClient has file paths that refer to a local file paths need to generalize this
-------------------------------------------------------------------------------------------------

                 Key: AIRAVATA-232
                 URL: https://issues.apache.org/jira/browse/AIRAVATA-232
             Project: Airavata
          Issue Type: Bug
            Reporter: Chathura Herath
            Assignee: Heshan Suriyaarachchi
            Priority: Critical


GridFTPFileTransferClient has file paths that refer to a local file paths need to generalize this


  String username = "heshan";
        String caFile = "/home/heshan/Dev/globusonline/transfer-api-client-java.git/trunk/ca/gd-bundle_ca.cert";
        String certFile = "/tmp/x509up_u780936";
        String keyFile = "/tmp/x509up_u780936";
        String baseUrl = null;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AIRAVATA-232) GridFTPFileTransferClient has file paths that refer to a local file paths need to generalize this

Posted by "Heshan Suriyaarachchi (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AIRAVATA-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13171908#comment-13171908 ] 

Heshan Suriyaarachchi commented on AIRAVATA-232:
------------------------------------------------

caFile is a public cert which is available with the GlobusOline Transfer API. The API is asking for this caFile's location as a path and it does not support reading it as stream.

Therefore, one option is to download gd-bundle_ca.cert from a http url and save it to /tmp directory. Then read from that location. Since the TransferAPI does not provide an API to pass the  cert as a stream, the earlier option is the available option for now. 

I have already sent an email to Transfer API mailing list. 
                
> GridFTPFileTransferClient has file paths that refer to a local file paths need to generalize this
> -------------------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-232
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-232
>             Project: Airavata
>          Issue Type: Bug
>            Reporter: Chathura Herath
>            Assignee: Heshan Suriyaarachchi
>            Priority: Critical
>
> GridFTPFileTransferClient has file paths that refer to a local file paths need to generalize this
>   String username = "heshan";
>         String caFile = "/home/heshan/Dev/globusonline/transfer-api-client-java.git/trunk/ca/gd-bundle_ca.cert";
>         String certFile = "/tmp/x509up_u780936";
>         String keyFile = "/tmp/x509up_u780936";
>         String baseUrl = null;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AIRAVATA-232) GridFTPFileTransferClient has file paths that refer to a local file paths need to generalize this

Posted by "Suresh Marru (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AIRAVATA-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Marru updated AIRAVATA-232:
----------------------------------

    Fix Version/s: 0.5-INCUBATING

The issue seems to be open for long, Heshan are you working on this? If not I can take a look.
                
> GridFTPFileTransferClient has file paths that refer to a local file paths need to generalize this
> -------------------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-232
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-232
>             Project: Airavata
>          Issue Type: Bug
>            Reporter: Chathura Herath
>            Assignee: Heshan Suriyaarachchi
>            Priority: Critical
>             Fix For: 0.5-INCUBATING
>
>
> GridFTPFileTransferClient has file paths that refer to a local file paths need to generalize this
>   String username = "heshan";
>         String caFile = "/home/heshan/Dev/globusonline/transfer-api-client-java.git/trunk/ca/gd-bundle_ca.cert";
>         String certFile = "/tmp/x509up_u780936";
>         String keyFile = "/tmp/x509up_u780936";
>         String baseUrl = null;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira