airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata-php-gateway git commit: setting gateway approaval status
Date Wed, 02 Nov 2016 14:01:47 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master 2c25f19cd -> 54de69211


setting gateway approaval status


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/54de6921
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/54de6921
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/54de6921

Branch: refs/heads/master
Commit: 54de692115bd88e1787b05db812d6cd679172603
Parents: 2c25f19
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Wed Nov 2 10:01:42 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Wed Nov 2 10:01:42 2016 -0400

----------------------------------------------------------------------
 app/libraries/AdminUtilities.php | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/54de6921/app/libraries/AdminUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/AdminUtilities.php b/app/libraries/AdminUtilities.php
index edb095f..b1aa5ff 100644
--- a/app/libraries/AdminUtilities.php
+++ b/app/libraries/AdminUtilities.php
@@ -19,6 +19,7 @@ class AdminUtilities
         $gateway->domain = $input["domain"];
         $gateway->gatewayName = $input["gatewayName"];
         $gateway->emailAddress = $input["admin-email"];
+        $gateway->gatewayApprovalStatus = GatewayApprovalStatus::APPROVED;
         return Airavata::addGateway(Session::get('authz-token'), $gateway);
     }
 


Mime
View raw message