You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2021/04/15 21:28:01 UTC

[airavata-django-portal-sdk] branch mft-integration updated: AIRAVATA-3420 Revert download url change

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

machristie pushed a commit to branch mft-integration
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal-sdk.git


The following commit(s) were added to refs/heads/mft-integration by this push:
     new fe8ced6  AIRAVATA-3420 Revert download url change
fe8ced6 is described below

commit fe8ced6f800a3b0fda1433e725b55dd09fcd7a7b
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Thu Apr 15 17:27:51 2021 -0400

    AIRAVATA-3420 Revert download url change
    
    Keep old behavior since new behavior requires changes to airavata-django-portal and this
    way we can update the SDK first and then the airavata-django-portal
---
 airavata_django_portal_sdk/urls.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airavata_django_portal_sdk/urls.py b/airavata_django_portal_sdk/urls.py
index 5b70a91..652157e 100644
--- a/airavata_django_portal_sdk/urls.py
+++ b/airavata_django_portal_sdk/urls.py
@@ -9,7 +9,7 @@ from . import views
 def get_download_url(data_product_uri):
     """(Deprecated) Get URL for downloading data product identified by data_product_uri."""
     warnings.warn("Use user_storage.get_download_url instead.", DeprecationWarning)
-    return (reverse("airavata_django_portal_sdk:download_file") + "?" +
+    return (reverse("django_airavata_api:download_file") + "?" +
             urlencode({"data-product-uri": data_product_uri}))