airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata-django-portal] branch master updated: AIRAVATA-2845 Fixing url to load compute resource
Date Tue, 24 Jul 2018 16:10:39 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new d62dccb  AIRAVATA-2845 Fixing url to load compute resource
d62dccb is described below

commit d62dccb4797e9d4adabd5b23c9c6f22e50a153ba
Author: Marcus Christie <machrist@iu.edu>
AuthorDate: Tue Jul 24 12:10:03 2018 -0400

    AIRAVATA-2845 Fixing url to load compute resource
---
 .../components/admin/group_resource_preferences/ComputePreference.vue   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/django_airavata/apps/admin/static/django_airavata_admin/src/components/admin/group_resource_preferences/ComputePreference.vue
b/django_airavata/apps/admin/static/django_airavata_admin/src/components/admin/group_resource_preferences/ComputePreference.vue
index aa5c4bf..5fd7cba 100644
--- a/django_airavata/apps/admin/static/django_airavata_admin/src/components/admin/group_resource_preferences/ComputePreference.vue
+++ b/django_airavata/apps/admin/static/django_airavata_admin/src/components/admin/group_resource_preferences/ComputePreference.vue
@@ -228,7 +228,7 @@
       fetchComputeResource: function (id) {
         console.log("Fetching compute Resource", id);
         if (id) {
-          DjangoAiravataAPI.utils.FetchUtils.get("/api/compute/resource/details", {id: id}).then(value
=> {
+          DjangoAiravataAPI.utils.FetchUtils.get("/api/compute-resources/" + encodeURIComponent(id)
+ "/").then(value => {
             console.log("Compute  Resource", value);
             this.computeResource = value;
             this.computeResource.jobSubmissionInterfaces.forEach((jobSubmissionInterface)
=> {


Mime
View raw message