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 2017/05/01 17:17:05 UTC

[01/30] airavata-php-gateway git commit: fixing credentials issue

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/dreg-gateway 1321372ad -> e5286d2e8


fixing credentials issue


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/b647db04
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/b647db04
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/b647db04

Branch: refs/heads/dreg-gateway
Commit: b647db04cc53a1f9e3dcf70a274829e5480b8f62
Parents: f9b2a58 923e5be
Author: scnakandala <su...@gmail.com>
Authored: Sat Jul 16 13:09:53 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Sat Jul 16 13:09:53 2016 -0400

----------------------------------------------------------------------
 app/views/admin/manage-credentials.blade.php | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------



[05/30] airavata-php-gateway git commit: merge

Posted by ma...@apache.org.
merge


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/d015a626
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/d015a626
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/d015a626

Branch: refs/heads/dreg-gateway
Commit: d015a6266110a86b3cb740353f115509ceffcc5d
Parents: c035862 7115934
Author: scnakandala <su...@gmail.com>
Authored: Sat Jul 16 16:26:34 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Sat Jul 16 16:26:34 2016 -0400

----------------------------------------------------------------------
 app/views/home.blade.php                        |  41 ++++++++++++++++++-
 .../assets/powered-by-airavata-transparent.png  | Bin 0 -> 40630 bytes
 2 files changed, 40 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d015a626/app/views/home.blade.php
----------------------------------------------------------------------


[28/30] airavata-php-gateway git commit: Only set sharing on default project when sharing enabled

Posted by ma...@apache.org.
Only set sharing on default project when sharing enabled


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/5d1d82c7
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/5d1d82c7
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/5d1d82c7

Branch: refs/heads/dreg-gateway
Commit: 5d1d82c7af393f2da51672a6d96779e245f21467
Parents: 69dba34
Author: Marcus Christie <ma...@iu.edu>
Authored: Thu Apr 27 15:36:04 2017 -0400
Committer: Marcus Christie <ma...@iu.edu>
Committed: Thu Apr 27 15:36:59 2017 -0400

----------------------------------------------------------------------
 app/libraries/ProjectUtilities.php | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/5d1d82c7/app/libraries/ProjectUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ProjectUtilities.php b/app/libraries/ProjectUtilities.php
index b7f7dd9..3367d16 100755
--- a/app/libraries/ProjectUtilities.php
+++ b/app/libraries/ProjectUtilities.php
@@ -180,11 +180,13 @@ class ProjectUtilities
         try {
             $projectId = Airavata::createProject(Session::get('authz-token'), Config::get('pga_config.airavata')['gateway-id'], $project);
 
-            $share = new stdClass();
-            $share->{$username} = new stdClass();
-            $share->{$username}->read = true;
-            $share->{$username}->write = true;
-            ProjectUtilities::share_project($projectId, $share);
+            if (Config::get('pga_config.airavata')["data-sharing-enabled"]){
+                $share = new stdClass();
+                $share->{$username} = new stdClass();
+                $share->{$username}->read = true;
+                $share->{$username}->write = true;
+                ProjectUtilities::share_project($projectId, $share);
+            }
 
         } catch (InvalidRequestException $ire) {
             CommonUtilities::print_error_message('InvalidRequestException!<br><br>' . $ire->getMessage());


[16/30] airavata-php-gateway git commit: showing is read only from the app interface for inputs

Posted by ma...@apache.org.
showing is read only from the app interface for inputs


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/eb21e28f
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/eb21e28f
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/eb21e28f

Branch: refs/heads/dreg-gateway
Commit: eb21e28f2a0ce56e5b11fbc082dc4a8e4d168647
Parents: 9ae9cf8
Author: scnakandala <su...@gmail.com>
Authored: Wed Feb 15 16:05:26 2017 -0500
Committer: scnakandala <su...@gmail.com>
Committed: Wed Feb 15 16:05:26 2017 -0500

----------------------------------------------------------------------
 app/libraries/AppUtilities.php                     |  6 ++++--
 app/views/partials/interface-input-block.blade.php | 12 ++++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/eb21e28f/app/libraries/AppUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/AppUtilities.php b/app/libraries/AppUtilities.php
index 263128e..bde5b46 100644
--- a/app/libraries/AppUtilities.php
+++ b/app/libraries/AppUtilities.php
@@ -74,7 +74,8 @@ class AppUtilities
                     "inputOrder" => intval($appInterfaceValues["inputOrder"][$index]),
                     "dataStaged" => intval($appInterfaceValues["dataStaged"][$index]),
                     "isRequired" => $appInterfaceValues["isRequiredInput"][$index],
-                    "requiredToAddedToCommandLine" => $appInterfaceValues["requiredToAddedToCommandLineInput"][$index]
+                    "requiredToAddedToCommandLine" => $appInterfaceValues["requiredToAddedToCommandLineInput"][$index],
+                    "isReadOnly" => $appInterfaceValues["isReadOnly"][$index]
                 ));
                 $appInterface->applicationInputs[] = $inputDataObjectType;
             }
@@ -91,7 +92,8 @@ class AppUtilities
                     "location" => $appInterfaceValues["location"][$index],
                     "isRequired" => $appInterfaceValues["isRequiredOutput"][$index],
                     "requiredToAddedToCommandLine" => $appInterfaceValues["requiredToAddedToCommandLineOutput"][$index],
-                    "searchQuery" => $appInterfaceValues["searchQuery"][$index]
+                    "searchQuery" => $appInterfaceValues["searchQuery"][$index],
+                    "isReadOnly" => $appInterfaceValues["isReadOnly"][$index]
                 ));
                 $appInterface->applicationOutputs[] = $outputDataObjectType;
             }

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/eb21e28f/app/views/partials/interface-input-block.blade.php
----------------------------------------------------------------------
diff --git a/app/views/partials/interface-input-block.blade.php b/app/views/partials/interface-input-block.blade.php
index 0e2d74f..2391565 100644
--- a/app/views/partials/interface-input-block.blade.php
+++ b/app/views/partials/interface-input-block.blade.php
@@ -55,6 +55,18 @@
             </select>
         </div>
     </div>
+        <div class="form-group">
+            <label class="control-label col-md-3">Is Read Only</label>
+
+            <div class="col-md-9">
+                <select class="form-control" name="isReadOnly[]" readonly>
+                    <option value="0"
+                            @if( isset( $appInputs) ) @if( 0 == $appInputs->isReadOnly) selected @endif @endif>False</option>
+                    <option value="1"
+                            @if( isset( $appInputs) ) @if( 1 == $appInputs->isReadOnly) selected @endif @endif>True</option>
+                </select>
+            </div>
+        </div>
     <div class="form-group">
         <label class="control-label col-md-3">User Friendly Description</label>
 


[15/30] airavata-php-gateway git commit: updating thrift generated files

Posted by ma...@apache.org.
updating thrift generated files


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/9ae9cf86
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/9ae9cf86
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/9ae9cf86

Branch: refs/heads/dreg-gateway
Commit: 9ae9cf86fd01e9f8eef2ca39de65ad06f5fc71dd
Parents: 8dc708f
Author: scnakandala <su...@gmail.com>
Authored: Wed Feb 15 15:57:04 2017 -0500
Committer: scnakandala <su...@gmail.com>
Committed: Wed Feb 15 15:57:04 2017 -0500

----------------------------------------------------------------------
 .../Airavata/Model/Application/Io/Types.php     | 23 ++++++++++++++++++++
 1 file changed, 23 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/9ae9cf86/app/libraries/Airavata/Model/Application/Io/Types.php
----------------------------------------------------------------------
diff --git a/app/libraries/Airavata/Model/Application/Io/Types.php b/app/libraries/Airavata/Model/Application/Io/Types.php
index fae8964..fd97025 100644
--- a/app/libraries/Airavata/Model/Application/Io/Types.php
+++ b/app/libraries/Airavata/Model/Application/Io/Types.php
@@ -117,6 +117,10 @@ class InputDataObjectType {
    * @var string
    */
   public $storageResourceId = null;
+  /**
+   * @var bool
+   */
+  public $isReadOnly = null;
 
   public function __construct($vals=null) {
     if (!isset(self::$_TSPEC)) {
@@ -169,6 +173,10 @@ class InputDataObjectType {
           'var' => 'storageResourceId',
           'type' => TType::STRING,
           ),
+          13 => array(
+              'var' => 'isReadOnly',
+              'type' => TType::BOOL,
+          ),
         );
     }
     if (is_array($vals)) {
@@ -208,6 +216,9 @@ class InputDataObjectType {
       if (isset($vals['storageResourceId'])) {
         $this->storageResourceId = $vals['storageResourceId'];
       }
+      if (isset($vals['isReadOnly'])) {
+        $this->isReadOnly = $vals['isReadOnly'];
+      }
     }
   }
 
@@ -314,6 +325,13 @@ class InputDataObjectType {
             $xfer += $input->skip($ftype);
           }
           break;
+        case 13:
+          if ($ftype == TType::BOOL) {
+            $xfer += $input->readBool($this->isReadOnly);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
         default:
           $xfer += $input->skip($ftype);
           break;
@@ -387,6 +405,11 @@ class InputDataObjectType {
       $xfer += $output->writeString($this->storageResourceId);
       $xfer += $output->writeFieldEnd();
     }
+    if ($this->isReadOnly !== null) {
+      $xfer += $output->writeFieldBegin('isReadOnly', TType::BOOL, 13);
+      $xfer += $output->writeBool($this->isReadOnly);
+      $xfer += $output->writeFieldEnd();
+    }
     $xfer += $output->writeFieldStop();
     $xfer += $output->writeStructEnd();
     return $xfer;


[30/30] airavata-php-gateway git commit: Merge branch 'master' into dreg-gateway

Posted by ma...@apache.org.
Merge branch 'master' into dreg-gateway


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/e5286d2e
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/e5286d2e
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/e5286d2e

Branch: refs/heads/dreg-gateway
Commit: e5286d2e8a23d6ec3a400433516a72a5097096de
Parents: 1321372 eebf531
Author: Marcus Christie <ma...@iu.edu>
Authored: Mon May 1 13:15:19 2017 -0400
Committer: Marcus Christie <ma...@iu.edu>
Committed: Mon May 1 13:15:19 2017 -0400

----------------------------------------------------------------------
 app/controllers/GatewayController.php           |  40 -----
 app/controllers/ProjectController.php           |   8 +-
 .../Airavata/Model/Application/Io/Types.php     |  23 +++
 app/libraries/AppUtilities.php                  |   3 +-
 app/libraries/ExperimentUtilities.php           |  30 ++--
 app/libraries/ProjectUtilities.php              |  13 +-
 app/libraries/SharingUtilities.php              |  21 ++-
 app/resources/security/idp_scigap_org.pem       | 156 ++++++++++++-------
 app/routes.php                                  |   2 +
 app/views/home.blade.php                        |   2 +-
 app/views/partials/dashboard-block.blade.php    |   4 -
 .../partials/interface-input-block.blade.php    |  20 ++-
 .../partials/interface-output-block.blade.php   |   8 +-
 app/views/project/create.blade.php              |   1 +
 public/js/sharing/share.js                      |   2 +-
 15 files changed, 203 insertions(+), 130 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/e5286d2e/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --cc app/libraries/ExperimentUtilities.php
index f31667a,447cd7a..982c93b
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@@ -802,9 -784,13 +805,13 @@@ class ExperimentUtilitie
          if($inputs != null){
              array_multisort($order, SORT_ASC, $inputs);
          }
 -
 +	
          //var_dump( $inputs); exit;
          foreach ($inputs as $input) {
+             $disabled = "";
+             if($input->isReadOnly)
+                 $disabled = "disabled";
+ 
              switch ($input->type) {
                  case DataType::STRING:
                      echo '<div class="form-group">

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/e5286d2e/app/routes.php
----------------------------------------------------------------------


[08/30] airavata-php-gateway git commit: merge

Posted by ma...@apache.org.
merge


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/8a7330c2
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/8a7330c2
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/8a7330c2

Branch: refs/heads/dreg-gateway
Commit: 8a7330c205d9e37bf8fbf9a062bdcf24d44d95c1
Parents: dd8cb11 4ef0b33
Author: scnakandala <su...@gmail.com>
Authored: Sun Jul 17 08:12:58 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Sun Jul 17 08:12:58 2016 -0400

----------------------------------------------------------------------
 app/libraries/ExperimentUtilities.php | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------



[06/30] airavata-php-gateway git commit: changes to the theme

Posted by ma...@apache.org.
changes to the theme


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/e2bfea41
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/e2bfea41
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/e2bfea41

Branch: refs/heads/dreg-gateway
Commit: e2bfea4183f4793dce2386f14f4f84ac0041b580
Parents: d015a62
Author: scnakandala <su...@gmail.com>
Authored: Sat Jul 16 16:43:01 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Sat Jul 16 16:43:01 2016 -0400

----------------------------------------------------------------------
 app/views/home.blade.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/e2bfea41/app/views/home.blade.php
----------------------------------------------------------------------
diff --git a/app/views/home.blade.php b/app/views/home.blade.php
index 5f8cade..bbc90c7 100755
--- a/app/views/home.blade.php
+++ b/app/views/home.blade.php
@@ -28,8 +28,8 @@ if( Session::get("theme") == "base"){?>
         </p>
         <p><a href="https://github.com/apache/airavata-php-gateway"
                 target="_blank">See the code <span class="glyphicon glyphicon-new-window"></span></a></p>
-        <p><a href="https://cwiki.apache.org/confluence/display/AIRAVATA/XSEDE+2015+Tutorial"
-            target="_blank">XSEDE 2015 tutorial documentation <span class="glyphicon glyphicon-new-window"></span></a>
+        <p><a href="https://cwiki.apache.org/confluence/display/AIRAVATA/XSEDE+2016+Tutorial"
+            target="_blank">XSEDE 2016 tutorial documentation <span class="glyphicon glyphicon-new-window"></span></a>
         </p>
     </div>
 </div>
@@ -87,7 +87,7 @@ if( Session::get("theme") == "base"){?>
             <h3>Contact Us</h3>
             <div class="col-md-6">
                 <span class="glyphicon glyphicon-envelope" style="font-size:6em;"></span><br/>
-            You can contact SEAGrid by sending a mail to <a href="mailto:psd@scigap.atlassian.net">Scigap E-mail</a>
+            You can contact Gateway Admin by sending a mail to <a href="mailto:psd@scigap.atlassian.net">Contact E-mail</a>
             </div>
             <div class="col-md-6">
                 <span class="glyphicon glyphicon-edit" style="font-size:6em;"></span><br/>


[29/30] airavata-php-gateway git commit: Updating IDP certs with new SSL Certs

Posted by ma...@apache.org.
Updating IDP certs with new SSL Certs


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/eebf5315
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/eebf5315
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/eebf5315

Branch: refs/heads/dreg-gateway
Commit: eebf53151e13589f5df9b4a1d3381ee4b22555fc
Parents: 5d1d82c
Author: Suresh Marru <sm...@apache.org>
Authored: Mon May 1 13:09:02 2017 -0400
Committer: Suresh Marru <sm...@apache.org>
Committed: Mon May 1 13:09:02 2017 -0400

----------------------------------------------------------------------
 app/resources/security/idp_scigap_org.pem | 156 ++++++++++++++++---------
 1 file changed, 98 insertions(+), 58 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/eebf5315/app/resources/security/idp_scigap_org.pem
----------------------------------------------------------------------
diff --git a/app/resources/security/idp_scigap_org.pem b/app/resources/security/idp_scigap_org.pem
index 6cb8cf3..129dd69 100755
--- a/app/resources/security/idp_scigap_org.pem
+++ b/app/resources/security/idp_scigap_org.pem
@@ -1,4 +1,102 @@
 -----BEGIN CERTIFICATE-----
+MIIFgDCCBGigAwIBAgIRANnsHhWk13Srp3dmaRM+sxkwDQYJKoZIhvcNAQELBQAw
+djELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAk1JMRIwEAYDVQQHEwlBbm4gQXJib3Ix
+EjAQBgNVBAoTCUludGVybmV0MjERMA8GA1UECxMISW5Db21tb24xHzAdBgNVBAMT
+FkluQ29tbW9uIFJTQSBTZXJ2ZXIgQ0EwHhcNMTcwNTAxMDAwMDAwWhcNMjAwNDMw
+MjM1OTU5WjCBujELMAkGA1UEBhMCVVMxDjAMBgNVBBETBTQ3NDA1MQswCQYDVQQI
+EwJJTjEUMBIGA1UEBxMLQmxvb21pbmd0b24xFzAVBgNVBAkTDjkwMCBFLiA3dGgg
+U3QuMRswGQYDVQQKExJJbmRpYW5hIFVuaXZlcnNpdHkxKTAnBgNVBAsTIFNjaWVu
+Y2UgR2F0ZXdheXMgUmVzZWFyY2ggQ2VudGVyMRcwFQYDVQQDEw5pZHAuc2NpZ2Fw
+Lm9yZzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCgg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Le9Gclc1Bb+7RrtubTeZtv8jkpHGbkD4jylW6l/VXxRTrPBPYer3IsynVgviuDQf
+Jtl7GQVoP7o81DgGotPmjw7jtHFtQELFhLRAlSv0ZaBIefYdgWOWnU914Ph85I6p
+0fKtirOMxyHNwu8=
+-----END CERTIFICATE-----
+-----BEGIN CERTIFICATE-----
 MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU
 MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs
 IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290
@@ -22,62 +120,4 @@ YINRsPkyPef89iYTx4AWpb9a/IfPeHmJIZriTAcKhjW88t5RxNKWt9x+Tu5w/Rw5
 Nr4TDea9Y355e6cJDUCrat2PisP29owaQgVR1EX1n6diIWgVIEM8med8vSTYqZEX
 c4g/VhsxOBi0cQ+azcgOno4uG+GMmIPLHzHxREzGBHNJdmAPx/i9F4BrLunMTA5a
 mnkPIAou1Z5jJh5VkpTYghdae9C8x49OhgQ=
------END CERTIFICATE-----
------BEGIN CERTIFICATE-----
-MIIEwzCCA6ugAwIBAgIQf3HB06ImsNKxE/PmgWdkPjANBgkqhkiG9w0BAQUFADBv
-MQswCQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFk
-ZFRydXN0IEV4dGVybmFsIFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBF
-eHRlcm5hbCBDQSBSb290MB4XDTEwMTIwNzAwMDAwMFoXDTIwMDUzMDEwNDgzOFow
-UTELMAkGA1UEBhMCVVMxEjAQBgNVBAoTCUludGVybmV0MjERMA8GA1UECxMISW5D
-b21tb24xGzAZBgNVBAMTEkluQ29tbW9uIFNlcnZlciBDQTCCASIwDQYJKoZIhvcN
-AQEBBQADggEPADCCAQoCggEBA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Wl
-3vW+NF0wHQYDVR0OBBYEFOgRhFYc+6zhi6WLx7+ZPsUr0osVMA4GA1UdDwEB/wQE
-AwIFoDAMBgNVHRMBAf8EAjAAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcD
-AjBnBgNVHSAEYDBeMFIGDCsGAQQBriMBBAMBATBCMEAGCCsGAQUFBwIBFjRodHRw
-czovL3d3dy5pbmNvbW1vbi5vcmcvY2VydC9yZXBvc2l0b3J5L2Nwc19zc2wucGRm
-MAgGBmeBDAECAjA9BgNVHR8ENjA0MDKgMKAuhixodHRwOi8vY3JsLmluY29tbW9u
-Lm9yZy9JbkNvbW1vblNlcnZlckNBLmNybDBvBggrBgEFBQcBAQRjMGEwOQYIKwYB
-BQUHMAKGLWh0dHA6Ly9jZXJ0LmluY29tbW9uLm9yZy9JbkNvbW1vblNlcnZlckNB
-LmNydDAkBggrBgEFBQcwAYYYaHR0cDovL29jc3AuaW5jb21tb24ub3JnMBkGA1Ud
-EQQSMBCCDmlkcC5zY2lnYXAub3JnMA0GCSqGSIb3DQEBBQUAA4IBAQAdg9Cv2Ora
-un7CAt77dhfGirTUdytoTwb5d7//OzWz6M95vr3e0siRowrKXq5AnQLY8CZ+YE3H
-yDxlvulWM2cMbubPsOLExCI4sNllViPWFNQKDl6s3Cbc7E2q11Hz048OVU4KtmL5
-5jA6/rWRCvoMepDzMF4T72DCeMnFSe3ICq+kBRI+RmOPoWWjIrL8Q9rWfUVLdQbu
-LgKtSfPpm0VfedZLlrJ3R7urdqpnIESzkBFj5rNDaD7Wiwc0LqcpbpGNo9SZ6IiT
-kKYLJCeoyWMAQa5zo5nnRbJ5cu1z/B50uibxbYclRWKEamiTThEYH824G0jaGCXx
-IspTV/Gt1tKM
 -----END CERTIFICATE-----
\ No newline at end of file


[19/30] airavata-php-gateway git commit: AIRAVATA-2278 Remove Roles link from admin sidebar

Posted by ma...@apache.org.
AIRAVATA-2278 Remove Roles link from admin sidebar


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/aba44b61
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/aba44b61
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/aba44b61

Branch: refs/heads/dreg-gateway
Commit: aba44b6116b7cde8532df9e0749a5a2e9acb263e
Parents: 70f8523
Author: Marcus Christie <ma...@iu.edu>
Authored: Thu Feb 16 11:43:25 2017 -0500
Committer: Marcus Christie <ma...@iu.edu>
Committed: Thu Feb 16 11:43:25 2017 -0500

----------------------------------------------------------------------
 app/views/partials/dashboard-block.blade.php | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/aba44b61/app/views/partials/dashboard-block.blade.php
----------------------------------------------------------------------
diff --git a/app/views/partials/dashboard-block.blade.php b/app/views/partials/dashboard-block.blade.php
index 8a07d78..2ecedf6 100644
--- a/app/views/partials/dashboard-block.blade.php
+++ b/app/views/partials/dashboard-block.blade.php
@@ -11,10 +11,6 @@
         @if( Session::has("admin-nav") && Session::get("admin-nav") == "manage-users") class="active" @endif>
             <a class="dashboard-link" href="{{ URL::to('/')}}/admin/dashboard/users"><span class="glyphicon glyphicon-user"></span>&nbsp; Users</a>
         </li>
-        <li
-         @if( Session::has("admin-nav") && Session::get("admin-nav") == "manage-roles") class="active" @endif>
-            <a class="dashboard-link" href="{{ URL::to('/')}}/admin/dashboard/roles"><span class="glyphicon glyphicon-eye-open"></span>&nbsp; Roles</a>
-        </li>
         <li>
             <a><span class="glyphicon glyphicon-briefcase"></span>&nbsp; Compute Resources</a>
             <ul>


[14/30] airavata-php-gateway git commit: hiding some input types from app interface inputs and outputs

Posted by ma...@apache.org.
hiding some input types from app interface inputs and outputs


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/8dc708f4
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/8dc708f4
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/8dc708f4

Branch: refs/heads/dreg-gateway
Commit: 8dc708f42fd7dbbac8fade9de79e18e13189d06c
Parents: f199d9b
Author: scnakandala <su...@gmail.com>
Authored: Wed Feb 15 14:41:31 2017 -0500
Committer: scnakandala <su...@gmail.com>
Committed: Wed Feb 15 14:41:39 2017 -0500

----------------------------------------------------------------------
 app/views/partials/interface-input-block.blade.php  | 8 +++++---
 app/views/partials/interface-output-block.blade.php | 8 +++++---
 2 files changed, 10 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/8dc708f4/app/views/partials/interface-input-block.blade.php
----------------------------------------------------------------------
diff --git a/app/views/partials/interface-input-block.blade.php b/app/views/partials/interface-input-block.blade.php
index 0906d88..0e2d74f 100644
--- a/app/views/partials/interface-input-block.blade.php
+++ b/app/views/partials/interface-input-block.blade.php
@@ -26,9 +26,11 @@
         <div class="col-md-9">
             <select class="form-control" name="inputType[]" readonly>
                 @foreach( $dataTypes as $index => $dataType)
-                <option value="{{ $index }}"
-                @if( isset( $appInputs) ) @if( $index == $appInputs->type) selected @endif @endif>{{ $dataType
-                }}</option>
+                    @if( $dataType != 'URI_COLLECTION' && $dataType != 'STDOUT' && $dataType != 'STDERR')
+                        <option value="{{ $index }}"
+                        @if( isset( $appInputs) ) @if( $index == $appInputs->type) selected @endif @endif>{{ $dataType
+                        }}</option>
+                    @endif
                 @endforeach
             </select>
         </div>

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/8dc708f4/app/views/partials/interface-output-block.blade.php
----------------------------------------------------------------------
diff --git a/app/views/partials/interface-output-block.blade.php b/app/views/partials/interface-output-block.blade.php
index 329153b..32ac4e6 100644
--- a/app/views/partials/interface-output-block.blade.php
+++ b/app/views/partials/interface-output-block.blade.php
@@ -26,9 +26,11 @@
         <div class="col-md-9">
             <select class="form-control" name="outputType[]" readonly>
                 @foreach( $dataTypes as $index => $dataType)
-                <option value="{{ $index }}"
-                @if( isset( $appOutputs) ) @if( $index == $appOutputs->type ) selected @endif @endif>{{ $dataType
-                }}</option>
+                    @if( $dataType != 'URI_COLLECTION')
+                        <option value="{{ $index }}"
+                        @if( isset( $appOutputs) ) @if( $index == $appOutputs->type ) selected @endif @endif>{{ $dataType
+                        }}</option>
+                    @endif
                 @endforeach
             </select>
         </div>


[13/30] airavata-php-gateway git commit: Properly closing div in experiment-inputs

Posted by ma...@apache.org.
Properly closing div in experiment-inputs

This was causing a layout issue with the theme in the new IU
Cybergateway.


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/98a620d9
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/98a620d9
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/98a620d9

Branch: refs/heads/dreg-gateway
Commit: 98a620d9ce7aa147ec667b5fede112f71bf29157
Parents: 533faa7
Author: Marcus Christie <ma...@apache.org>
Authored: Fri Jan 6 09:13:08 2017 -0500
Committer: Marcus Christie <ma...@apache.org>
Committed: Fri Jan 6 09:13:08 2017 -0500

----------------------------------------------------------------------
 app/views/partials/experiment-inputs.blade.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/98a620d9/app/views/partials/experiment-inputs.blade.php
----------------------------------------------------------------------
diff --git a/app/views/partials/experiment-inputs.blade.php b/app/views/partials/experiment-inputs.blade.php
index f6e2557..9f02dbf 100644
--- a/app/views/partials/experiment-inputs.blade.php
+++ b/app/views/partials/experiment-inputs.blade.php
@@ -127,5 +127,5 @@
             <input type="text" class="form-control" name="userDN" placeholder="user" value="{{$expInputs['userDN']}}"/>
         </div>
     </div>
+    @endif
 </div>
-@endif


[11/30] airavata-php-gateway git commit: updating thrift files

Posted by ma...@apache.org.
updating thrift files


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/9f4024b8
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/9f4024b8
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/9f4024b8

Branch: refs/heads/dreg-gateway
Commit: 9f4024b89ffc9ad660dde7a23315b433a1fdc2df
Parents: 54de692
Author: scnakandala <su...@gmail.com>
Authored: Wed Nov 2 10:05:33 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Wed Nov 2 10:05:33 2016 -0400

----------------------------------------------------------------------
 app/libraries/Airavata/API/Airavata.php         |  31 ++++-
 .../Model/AppCatalog/GatewayProfile/Types.php   |  92 +++++++++++++++
 .../Airavata/Model/Workspace/Types.php          | 115 +++++++++++++++++++
 3 files changed, 236 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/9f4024b8/app/libraries/Airavata/API/Airavata.php
----------------------------------------------------------------------
diff --git a/app/libraries/Airavata/API/Airavata.php b/app/libraries/Airavata/API/Airavata.php
index cebfb90..df385a9 100644
--- a/app/libraries/Airavata/API/Airavata.php
+++ b/app/libraries/Airavata/API/Airavata.php
@@ -106,6 +106,7 @@ interface AiravataIf {
    * @param \Airavata\Model\Security\AuthzToken $authzToken
    * @param string $gatewayId
    * @param \Airavata\Model\Workspace\Gateway $updatedGateway
+   * @return bool
    * @throws \Airavata\API\Error\InvalidRequestException
    * @throws \Airavata\API\Error\AiravataClientException
    * @throws \Airavata\API\Error\AiravataSystemException
@@ -3638,7 +3639,7 @@ class AiravataClient implements \Airavata\API\AiravataIf {
   public function updateGateway(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId, \Airavata\Model\Workspace\Gateway $updatedGateway)
   {
     $this->send_updateGateway($authzToken, $gatewayId, $updatedGateway);
-    $this->recv_updateGateway();
+    return $this->recv_updateGateway();
   }
 
   public function send_updateGateway(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId, \Airavata\Model\Workspace\Gateway $updatedGateway)
@@ -3682,6 +3683,9 @@ class AiravataClient implements \Airavata\API\AiravataIf {
       $result->read($this->input_);
       $this->input_->readMessageEnd();
     }
+    if ($result->success !== null) {
+      return $result->success;
+    }
     if ($result->ire !== null) {
       throw $result->ire;
     }
@@ -3694,7 +3698,7 @@ class AiravataClient implements \Airavata\API\AiravataIf {
     if ($result->ae !== null) {
       throw $result->ae;
     }
-    return;
+    throw new \Exception("updateGateway failed: unknown result");
   }
 
   public function getGateway(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId)
@@ -13763,6 +13767,10 @@ class Airavata_updateGateway_result {
   static $_TSPEC;
 
   /**
+   * @var bool
+   */
+  public $success = null;
+  /**
    * @var \Airavata\API\Error\InvalidRequestException
    */
   public $ire = null;
@@ -13782,6 +13790,10 @@ class Airavata_updateGateway_result {
   public function __construct($vals=null) {
     if (!isset(self::$_TSPEC)) {
       self::$_TSPEC = array(
+        0 => array(
+          'var' => 'success',
+          'type' => TType::BOOL,
+          ),
         1 => array(
           'var' => 'ire',
           'type' => TType::STRUCT,
@@ -13805,6 +13817,9 @@ class Airavata_updateGateway_result {
         );
     }
     if (is_array($vals)) {
+      if (isset($vals['success'])) {
+        $this->success = $vals['success'];
+      }
       if (isset($vals['ire'])) {
         $this->ire = $vals['ire'];
       }
@@ -13839,6 +13854,13 @@ class Airavata_updateGateway_result {
       }
       switch ($fid)
       {
+        case 0:
+          if ($ftype == TType::BOOL) {
+            $xfer += $input->readBool($this->success);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
         case 1:
           if ($ftype == TType::STRUCT) {
             $this->ire = new \Airavata\API\Error\InvalidRequestException();
@@ -13884,6 +13906,11 @@ class Airavata_updateGateway_result {
   public function write($output) {
     $xfer = 0;
     $xfer += $output->writeStructBegin('Airavata_updateGateway_result');
+    if ($this->success !== null) {
+      $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+      $xfer += $output->writeBool($this->success);
+      $xfer += $output->writeFieldEnd();
+    }
     if ($this->ire !== null) {
       $xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
       $xfer += $this->ire->write($output);

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/9f4024b8/app/libraries/Airavata/Model/AppCatalog/GatewayProfile/Types.php
----------------------------------------------------------------------
diff --git a/app/libraries/Airavata/Model/AppCatalog/GatewayProfile/Types.php b/app/libraries/Airavata/Model/AppCatalog/GatewayProfile/Types.php
index 8a56327..f0b329d 100644
--- a/app/libraries/Airavata/Model/AppCatalog/GatewayProfile/Types.php
+++ b/app/libraries/Airavata/Model/AppCatalog/GatewayProfile/Types.php
@@ -94,6 +94,22 @@ class ComputeResourcePreference {
    * @var string
    */
   public $usageReportingGatewayId = null;
+  /**
+   * @var string
+   */
+  public $qualityOfService = null;
+  /**
+   * @var string
+   */
+  public $reservation = null;
+  /**
+   * @var int
+   */
+  public $reservationStartTime = null;
+  /**
+   * @var int
+   */
+  public $reservationEndTime = null;
 
   public function __construct($vals=null) {
     if (!isset(self::$_TSPEC)) {
@@ -138,6 +154,22 @@ class ComputeResourcePreference {
           'var' => 'usageReportingGatewayId',
           'type' => TType::STRING,
           ),
+        11 => array(
+          'var' => 'qualityOfService',
+          'type' => TType::STRING,
+          ),
+        12 => array(
+          'var' => 'reservation',
+          'type' => TType::STRING,
+          ),
+        13 => array(
+          'var' => 'reservationStartTime',
+          'type' => TType::I64,
+          ),
+        14 => array(
+          'var' => 'reservationEndTime',
+          'type' => TType::I64,
+          ),
         );
     }
     if (is_array($vals)) {
@@ -171,6 +203,18 @@ class ComputeResourcePreference {
       if (isset($vals['usageReportingGatewayId'])) {
         $this->usageReportingGatewayId = $vals['usageReportingGatewayId'];
       }
+      if (isset($vals['qualityOfService'])) {
+        $this->qualityOfService = $vals['qualityOfService'];
+      }
+      if (isset($vals['reservation'])) {
+        $this->reservation = $vals['reservation'];
+      }
+      if (isset($vals['reservationStartTime'])) {
+        $this->reservationStartTime = $vals['reservationStartTime'];
+      }
+      if (isset($vals['reservationEndTime'])) {
+        $this->reservationEndTime = $vals['reservationEndTime'];
+      }
     }
   }
 
@@ -263,6 +307,34 @@ class ComputeResourcePreference {
             $xfer += $input->skip($ftype);
           }
           break;
+        case 11:
+          if ($ftype == TType::STRING) {
+            $xfer += $input->readString($this->qualityOfService);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
+        case 12:
+          if ($ftype == TType::STRING) {
+            $xfer += $input->readString($this->reservation);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
+        case 13:
+          if ($ftype == TType::I64) {
+            $xfer += $input->readI64($this->reservationStartTime);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
+        case 14:
+          if ($ftype == TType::I64) {
+            $xfer += $input->readI64($this->reservationEndTime);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
         default:
           $xfer += $input->skip($ftype);
           break;
@@ -326,6 +398,26 @@ class ComputeResourcePreference {
       $xfer += $output->writeString($this->usageReportingGatewayId);
       $xfer += $output->writeFieldEnd();
     }
+    if ($this->qualityOfService !== null) {
+      $xfer += $output->writeFieldBegin('qualityOfService', TType::STRING, 11);
+      $xfer += $output->writeString($this->qualityOfService);
+      $xfer += $output->writeFieldEnd();
+    }
+    if ($this->reservation !== null) {
+      $xfer += $output->writeFieldBegin('reservation', TType::STRING, 12);
+      $xfer += $output->writeString($this->reservation);
+      $xfer += $output->writeFieldEnd();
+    }
+    if ($this->reservationStartTime !== null) {
+      $xfer += $output->writeFieldBegin('reservationStartTime', TType::I64, 13);
+      $xfer += $output->writeI64($this->reservationStartTime);
+      $xfer += $output->writeFieldEnd();
+    }
+    if ($this->reservationEndTime !== null) {
+      $xfer += $output->writeFieldBegin('reservationEndTime', TType::I64, 14);
+      $xfer += $output->writeI64($this->reservationEndTime);
+      $xfer += $output->writeFieldEnd();
+    }
     $xfer += $output->writeFieldStop();
     $xfer += $output->writeStructEnd();
     return $xfer;

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/9f4024b8/app/libraries/Airavata/Model/Workspace/Types.php
----------------------------------------------------------------------
diff --git a/app/libraries/Airavata/Model/Workspace/Types.php b/app/libraries/Airavata/Model/Workspace/Types.php
index b16d03c..1b516d8 100644
--- a/app/libraries/Airavata/Model/Workspace/Types.php
+++ b/app/libraries/Airavata/Model/Workspace/Types.php
@@ -569,6 +569,26 @@ class Gateway {
    * @var string
    */
   public $reviewProposalDescription = null;
+  /**
+   * @var string
+   */
+  public $gatewayAdminFirstName = null;
+  /**
+   * @var string
+   */
+  public $gatewayAdminLastName = null;
+  /**
+   * @var string
+   */
+  public $gatewayAdminEmail = null;
+  /**
+   * @var string
+   */
+  public $identityServerUserName = null;
+  /**
+   * @var string
+   */
+  public $identityServerPasswordToken = null;
 
   public function __construct($vals=null) {
     if (!isset(self::$_TSPEC)) {
@@ -609,6 +629,26 @@ class Gateway {
           'var' => 'reviewProposalDescription',
           'type' => TType::STRING,
           ),
+        10 => array(
+          'var' => 'gatewayAdminFirstName',
+          'type' => TType::STRING,
+          ),
+        11 => array(
+          'var' => 'gatewayAdminLastName',
+          'type' => TType::STRING,
+          ),
+        12 => array(
+          'var' => 'gatewayAdminEmail',
+          'type' => TType::STRING,
+          ),
+        13 => array(
+          'var' => 'identityServerUserName',
+          'type' => TType::STRING,
+          ),
+        14 => array(
+          'var' => 'identityServerPasswordToken',
+          'type' => TType::STRING,
+          ),
         );
     }
     if (is_array($vals)) {
@@ -639,6 +679,21 @@ class Gateway {
       if (isset($vals['reviewProposalDescription'])) {
         $this->reviewProposalDescription = $vals['reviewProposalDescription'];
       }
+      if (isset($vals['gatewayAdminFirstName'])) {
+        $this->gatewayAdminFirstName = $vals['gatewayAdminFirstName'];
+      }
+      if (isset($vals['gatewayAdminLastName'])) {
+        $this->gatewayAdminLastName = $vals['gatewayAdminLastName'];
+      }
+      if (isset($vals['gatewayAdminEmail'])) {
+        $this->gatewayAdminEmail = $vals['gatewayAdminEmail'];
+      }
+      if (isset($vals['identityServerUserName'])) {
+        $this->identityServerUserName = $vals['identityServerUserName'];
+      }
+      if (isset($vals['identityServerPasswordToken'])) {
+        $this->identityServerPasswordToken = $vals['identityServerPasswordToken'];
+      }
     }
   }
 
@@ -724,6 +779,41 @@ class Gateway {
             $xfer += $input->skip($ftype);
           }
           break;
+        case 10:
+          if ($ftype == TType::STRING) {
+            $xfer += $input->readString($this->gatewayAdminFirstName);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
+        case 11:
+          if ($ftype == TType::STRING) {
+            $xfer += $input->readString($this->gatewayAdminLastName);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
+        case 12:
+          if ($ftype == TType::STRING) {
+            $xfer += $input->readString($this->gatewayAdminEmail);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
+        case 13:
+          if ($ftype == TType::STRING) {
+            $xfer += $input->readString($this->identityServerUserName);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
+        case 14:
+          if ($ftype == TType::STRING) {
+            $xfer += $input->readString($this->identityServerPasswordToken);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
         default:
           $xfer += $input->skip($ftype);
           break;
@@ -782,6 +872,31 @@ class Gateway {
       $xfer += $output->writeString($this->reviewProposalDescription);
       $xfer += $output->writeFieldEnd();
     }
+    if ($this->gatewayAdminFirstName !== null) {
+      $xfer += $output->writeFieldBegin('gatewayAdminFirstName', TType::STRING, 10);
+      $xfer += $output->writeString($this->gatewayAdminFirstName);
+      $xfer += $output->writeFieldEnd();
+    }
+    if ($this->gatewayAdminLastName !== null) {
+      $xfer += $output->writeFieldBegin('gatewayAdminLastName', TType::STRING, 11);
+      $xfer += $output->writeString($this->gatewayAdminLastName);
+      $xfer += $output->writeFieldEnd();
+    }
+    if ($this->gatewayAdminEmail !== null) {
+      $xfer += $output->writeFieldBegin('gatewayAdminEmail', TType::STRING, 12);
+      $xfer += $output->writeString($this->gatewayAdminEmail);
+      $xfer += $output->writeFieldEnd();
+    }
+    if ($this->identityServerUserName !== null) {
+      $xfer += $output->writeFieldBegin('identityServerUserName', TType::STRING, 13);
+      $xfer += $output->writeString($this->identityServerUserName);
+      $xfer += $output->writeFieldEnd();
+    }
+    if ($this->identityServerPasswordToken !== null) {
+      $xfer += $output->writeFieldBegin('identityServerPasswordToken', TType::STRING, 14);
+      $xfer += $output->writeString($this->identityServerPasswordToken);
+      $xfer += $output->writeFieldEnd();
+    }
     $xfer += $output->writeFieldStop();
     $xfer += $output->writeStructEnd();
     return $xfer;


[27/30] airavata-php-gateway git commit: AIRAVATA-2370 restoring gateway request routes

Posted by ma...@apache.org.
AIRAVATA-2370 restoring gateway request routes

Looks like these were unintentionally removed during the develop->master
merge.


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/69dba346
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/69dba346
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/69dba346

Branch: refs/heads/dreg-gateway
Commit: 69dba346f01bd356fbad1dc4b603c02ff4d136bc
Parents: f06927d
Author: Marcus Christie <ma...@iu.edu>
Authored: Wed Apr 19 13:04:23 2017 -0400
Committer: Marcus Christie <ma...@iu.edu>
Committed: Wed Apr 19 13:04:23 2017 -0400

----------------------------------------------------------------------
 app/routes.php | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/69dba346/app/routes.php
----------------------------------------------------------------------
diff --git a/app/routes.php b/app/routes.php
index 7c86629..1408b98 100755
--- a/app/routes.php
+++ b/app/routes.php
@@ -347,6 +347,8 @@ Route::post("admin/create-pwd-token", "AdminController@createPWD");
 
 Route::post("admin/remove-pwd-token", "AdminController@removePWD");
 
+//GatewayProviders
+Route::get("provider/request-gateway", "AdminController@requestGateway");
 
 //notices
 Route::get("admin/dashboard/notices", "AdminController@noticesView");
@@ -364,6 +366,8 @@ Route::post("notice-seen-ack", "AccountController@noticeSeenAck");
 Route::post("admin/add-gateway", "AdminController@addGateway");
 Route::get("admin/add-gateway", "AdminController@addGateway");
 
+Route::get("admin/update-gateway-request", "AdminController@updateGatewayRequest");
+
 /*
 * Theme Pages Routes
 */


[17/30] airavata-php-gateway git commit: fixing bug in previous commit

Posted by ma...@apache.org.
fixing bug in previous commit


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/ae38aa93
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/ae38aa93
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/ae38aa93

Branch: refs/heads/dreg-gateway
Commit: ae38aa93b6d948c4cfec108900dc913385966eb7
Parents: eb21e28
Author: scnakandala <su...@gmail.com>
Authored: Wed Feb 15 16:21:20 2017 -0500
Committer: scnakandala <su...@gmail.com>
Committed: Wed Feb 15 16:21:20 2017 -0500

----------------------------------------------------------------------
 app/libraries/AppUtilities.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/ae38aa93/app/libraries/AppUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/AppUtilities.php b/app/libraries/AppUtilities.php
index bde5b46..288c178 100644
--- a/app/libraries/AppUtilities.php
+++ b/app/libraries/AppUtilities.php
@@ -92,8 +92,7 @@ class AppUtilities
                     "location" => $appInterfaceValues["location"][$index],
                     "isRequired" => $appInterfaceValues["isRequiredOutput"][$index],
                     "requiredToAddedToCommandLine" => $appInterfaceValues["requiredToAddedToCommandLineOutput"][$index],
-                    "searchQuery" => $appInterfaceValues["searchQuery"][$index],
-                    "isReadOnly" => $appInterfaceValues["isReadOnly"][$index]
+                    "searchQuery" => $appInterfaceValues["searchQuery"][$index]
                 ));
                 $appInterface->applicationOutputs[] = $outputDataObjectType;
             }


[12/30] airavata-php-gateway git commit: adding use statement

Posted by ma...@apache.org.
adding use statement


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/533faa71
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/533faa71
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/533faa71

Branch: refs/heads/dreg-gateway
Commit: 533faa718bca878359faba9462797806f27a4207
Parents: 9f4024b
Author: scnakandala <su...@gmail.com>
Authored: Wed Nov 2 10:06:51 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Wed Nov 2 10:06:51 2016 -0400

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


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/533faa71/app/libraries/AdminUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/AdminUtilities.php b/app/libraries/AdminUtilities.php
index b1aa5ff..0d4371a 100644
--- a/app/libraries/AdminUtilities.php
+++ b/app/libraries/AdminUtilities.php
@@ -3,6 +3,7 @@
 use Airavata\Model\Workspace\Gateway;
 use Airavata\Model\Workspace\Notification;
 use Airavata\Model\Workspace\NotificationPriority;
+use Airavata\Model\Workspace\GatewayApprovalStatus;
 
 class AdminUtilities
 {


[26/30] airavata-php-gateway git commit: AIRAVATA-2364 Deferring loading sharing users until button clicked

Posted by ma...@apache.org.
AIRAVATA-2364 Deferring loading sharing users until button clicked


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/f06927dd
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/f06927dd
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/f06927dd

Branch: refs/heads/dreg-gateway
Commit: f06927dd612b2f86cdd7b78e105fb94e611fa1f5
Parents: 975cfa6
Author: Marcus Christie <ma...@iu.edu>
Authored: Wed Apr 19 12:44:44 2017 -0400
Committer: Marcus Christie <ma...@iu.edu>
Committed: Wed Apr 19 12:44:44 2017 -0400

----------------------------------------------------------------------
 app/controllers/ProjectController.php | 8 ++++++--
 app/routes.php                        | 2 ++
 app/views/project/create.blade.php    | 1 +
 public/js/sharing/share.js            | 2 +-
 4 files changed, 10 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/f06927dd/app/controllers/ProjectController.php
----------------------------------------------------------------------
diff --git a/app/controllers/ProjectController.php b/app/controllers/ProjectController.php
index 7651b25..ea6efd3 100755
--- a/app/controllers/ProjectController.php
+++ b/app/controllers/ProjectController.php
@@ -26,8 +26,7 @@ class ProjectController extends BaseController
     public function createView()
     {
         if (Config::get('pga_config.airavata')["data-sharing-enabled"]){
-            $users = SharingUtilities::getAllUserProfiles();
-            return View::make("project/create", array("users" => json_encode($users), "owner" => json_encode(array())));
+            return View::make("project/create", array("users" => json_encode(array()), "owner" => json_encode(array())));
         }else{
             return View::make("project/no-sharing-create");
         }
@@ -242,6 +241,11 @@ class ProjectController extends BaseController
             return Response::json(array("error" => "Error: No project specified"));
         }
     }
+
+    public function allUsers()
+    {
+        return Response::json(SharingUtilities::getAllUserProfiles());
+    }
 }
 
 ?>

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/f06927dd/app/routes.php
----------------------------------------------------------------------
diff --git a/app/routes.php b/app/routes.php
index 70bdc88..7c86629 100755
--- a/app/routes.php
+++ b/app/routes.php
@@ -91,6 +91,8 @@ Route::get("project/shared-users", "ProjectController@sharedUsers");
 
 Route::get("project/unshared-users", "ProjectController@unsharedUsers");
 
+Route::get("project/all-users", "ProjectController@allUsers");
+
 /*
  * Experiment Routes
 */

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/f06927dd/app/views/project/create.blade.php
----------------------------------------------------------------------
diff --git a/app/views/project/create.blade.php b/app/views/project/create.blade.php
index 54d615c..759ca71 100755
--- a/app/views/project/create.blade.php
+++ b/app/views/project/create.blade.php
@@ -50,6 +50,7 @@
     });
     var users = {{ $users }};
     var owner = {{ $owner }};
+    $('#entity-share').data({url: "{{URL::to('/')}}/project/all-users"});
 </script>
 {{ HTML::script('js/sharing/sharing_utils.js') }}
 {{ HTML::script('js/sharing/share.js') }}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/f06927dd/public/js/sharing/share.js
----------------------------------------------------------------------
diff --git a/public/js/sharing/share.js b/public/js/sharing/share.js
index bbea0d9..d36ff22 100755
--- a/public/js/sharing/share.js
+++ b/public/js/sharing/share.js
@@ -120,7 +120,7 @@ $(function() {
             $.ajax({
                 url: ajax_data.url,
                 method: 'get',
-                data: {resourceId: ajax_data.resourceId},
+                data: ajax_data.resourceId ? {resourceId: ajax_data.resourceId} : null,
                 dataType: "json",
                 error: function(xhr, status, error) {
                     $('#shared-users').addClass('text-align-center').text("Unable to load users from Airavata server.");


[22/30] airavata-php-gateway git commit: Merging master changes with develop. Master conflicts were over written by develop branch - since develop is tested.

Posted by ma...@apache.org.
Merging master changes with develop. Master conflicts were over written by develop branch - since develop is tested.


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/dc556d73
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/dc556d73
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/dc556d73

Branch: refs/heads/dreg-gateway
Commit: dc556d73de712406ecb98119dc2b15f4ab80b894
Parents: 0dca1aa 98a620d
Author: Suresh Marru <sm...@apache.org>
Authored: Mon Apr 3 13:19:54 2017 -0400
Committer: Suresh Marru <sm...@apache.org>
Committed: Mon Apr 3 13:19:54 2017 -0400

----------------------------------------------------------------------
 app/controllers/GatewayController.php | 40 ------------------------------
 app/libraries/ProjectUtilities.php    |  1 -
 app/routes.php                        |  4 ---
 app/views/home.blade.php              |  2 +-
 4 files changed, 1 insertion(+), 46 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/dc556d73/app/libraries/ProjectUtilities.php
----------------------------------------------------------------------
diff --cc app/libraries/ProjectUtilities.php
index a02ae69,1ac6502..b7f7dd9
mode 100755,100644..100755
--- a/app/libraries/ProjectUtilities.php
+++ b/app/libraries/ProjectUtilities.php

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/dc556d73/app/routes.php
----------------------------------------------------------------------
diff --cc app/routes.php
index b2e58cd,cd0b20f..70bdc88
mode 100755,100644..100755
--- a/app/routes.php
+++ b/app/routes.php


[24/30] airavata-php-gateway git commit: fixing minor bug

Posted by ma...@apache.org.
fixing minor bug


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/863534ba
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/863534ba
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/863534ba

Branch: refs/heads/dreg-gateway
Commit: 863534ba2d64b5b5cd21957ad577b108b6a1a45b
Parents: 026bb9d
Author: scnakandala <su...@gmail.com>
Authored: Tue Apr 4 16:04:05 2017 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Tue Apr 4 16:04:05 2017 -0400

----------------------------------------------------------------------
 app/libraries/ExperimentUtilities.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/863534ba/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index 81f44f8..2202218 100755
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -921,7 +921,7 @@ class ExperimentUtilities
                                 break;
                             }
                         }
-                        $path = parse_url($currentOutputPath);
+                        $path = parse_url($currentOutputPath)['path'];
                         if(file_exists($path)){
                             $fileName = basename($currentOutputPath);
                             echo '<p>' . $output->name . ':&nbsp;<a target="_blank" href="' . URL::to("/")


[04/30] airavata-php-gateway git commit: fixing email template issue

Posted by ma...@apache.org.
fixing email template issue


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/c0358621
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/c0358621
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/c0358621

Branch: refs/heads/dreg-gateway
Commit: c0358621395cc518c1ba12b8b441b0e356526f84
Parents: 8b926f4
Author: scnakandala <su...@gmail.com>
Authored: Sat Jul 16 13:39:54 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Sat Jul 16 13:39:54 2016 -0400

----------------------------------------------------------------------
 app/controllers/AccountController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/c0358621/app/controllers/AccountController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php
index d41bc2f..6a50124 100644
--- a/app/controllers/AccountController.php
+++ b/app/controllers/AccountController.php
@@ -409,7 +409,7 @@ class AccountController extends BaseController
             $username = $username . "@" . $wsisConfig['tenant-domain'];
 
         $str = "Gateway Portal: " . $_SERVER['SERVER_NAME'] ."<br/>";
-        $str = $str . "Username: " . $username ."<ber/>";
+        $str = $str . "Username: " . $username ."<br/>";
         $str = $str . "Name: " . $userProfile["firstname"] . " " . $userProfile["lastname"] . "<br/>";
         $str = $str . "Email: " . $userProfile["email"];
 


[07/30] airavata-php-gateway git commit: changes to the theme

Posted by ma...@apache.org.
changes to the theme


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/dd8cb117
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/dd8cb117
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/dd8cb117

Branch: refs/heads/dreg-gateway
Commit: dd8cb11735b314acd2b6f7fd0520d65506b4edd4
Parents: e2bfea4
Author: scnakandala <su...@gmail.com>
Authored: Sat Jul 16 16:44:01 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Sat Jul 16 16:44:01 2016 -0400

----------------------------------------------------------------------
 app/views/home.blade.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/dd8cb117/app/views/home.blade.php
----------------------------------------------------------------------
diff --git a/app/views/home.blade.php b/app/views/home.blade.php
index bbc90c7..4148744 100755
--- a/app/views/home.blade.php
+++ b/app/views/home.blade.php
@@ -28,7 +28,7 @@ if( Session::get("theme") == "base"){?>
         </p>
         <p><a href="https://github.com/apache/airavata-php-gateway"
                 target="_blank">See the code <span class="glyphicon glyphicon-new-window"></span></a></p>
-        <p><a href="https://cwiki.apache.org/confluence/display/AIRAVATA/XSEDE+2016+Tutorial"
+        <p><a href="https://cwiki.apache.org/confluence/display/AIRAVATA/XSEDE+2016+Tutorials"
             target="_blank">XSEDE 2016 tutorial documentation <span class="glyphicon glyphicon-new-window"></span></a>
         </p>
     </div>


[02/30] airavata-php-gateway git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/airavata-php-gateway

Posted by ma...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/airavata-php-gateway

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.


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/1646a3aa
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/1646a3aa
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/1646a3aa

Branch: refs/heads/dreg-gateway
Commit: 1646a3aa6dcc7e55fbc828468644749e293f55da
Parents: b647db0 62e2abd
Author: scnakandala <su...@gmail.com>
Authored: Sat Jul 16 13:10:32 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Sat Jul 16 13:10:32 2016 -0400

----------------------------------------------------------------------

----------------------------------------------------------------------



[03/30] airavata-php-gateway git commit: removing redundant file

Posted by ma...@apache.org.
removing redundant file


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/8b926f41
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/8b926f41
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/8b926f41

Branch: refs/heads/dreg-gateway
Commit: 8b926f41b8a264c146f1859e7a697d81ff0a2e05
Parents: 1646a3a
Author: scnakandala <su...@gmail.com>
Authored: Sat Jul 16 13:16:36 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Sat Jul 16 13:16:36 2016 -0400

----------------------------------------------------------------------
 app/config/pga_config_default_template.php | 243 ------------------------
 1 file changed, 243 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/8b926f41/app/config/pga_config_default_template.php
----------------------------------------------------------------------
diff --git a/app/config/pga_config_default_template.php b/app/config/pga_config_default_template.php
deleted file mode 100644
index 9d6be07..0000000
--- a/app/config/pga_config_default_template.php
+++ /dev/null
@@ -1,243 +0,0 @@
-<?php
-return array(
-    /**
-     * *****************************************************************
-     *  These are WSO2 Identity Server Related Configurations
-     * *****************************************************************
-     */
-
-    'wsis' => [
-
-        /**
-         * Admin Role Name
-         */
-        'admin-role-name' => 'admin',
-
-        /**
-         * Read only Admin Role Name
-         */
-        'read-only-admin-role-name' => 'admin-read-only',
-
-        /**
-         * Gateway user role
-         */
-        'user-role-name' => 'airavata-user',
-
-        /**
-         * Tenant Domain
-         */
-        'tenant-domain' => '',
-
-        /**
-         * Tenant admin's username
-         */
-        'admin-username' => 'scigap_admin',
-
-        /**
-         * Tenant admin's password
-         */
-        'admin-password' => 'sci9067@min',
-
-        /**
-         * OAuth client key
-         */
-        'oauth-client-key' => 'fI0fo8luZYsDMPqfIYH8fN6wtfMa',
-
-        /**
-         * OAuth client secret
-         */
-        'oauth-client-secret' => 'cRKUjG8jPUgWj7NxUNT5Tf5621Aa',
-
-        /**
-         * Identity server domain
-         */
-        'server' => 'idp.scigap.org',
-
-        /**
-         * Identity server url
-         */
-        'service-url' => 'https://idp.scigap.org:9443/',
-
-        /**
-         * Enable HTTPS server verification
-         */
-        'verify-peer' => true,
-
-        /**
-         * Path to the server certificate file
-         */
-        'cafile-path' => app_path() . '/resources/security/idp_scigap_org.pem',
-
-        /**
-         * Allow self signed server certificates
-         */
-        'allow-self-signed-cert' => false
-    ],
-
-
-    /**
-     * *****************************************************************
-     *  These are Airavata Related Configurations
-     * *****************************************************************
-     */
-    'airavata' => [
-
-        /**
-         * Airavata API server location. Use tls:// as the protocol to
-         * connect TLS enabled Airavata
-         */
-        'airavata-server' => 'gw56.iu.xsede.org',
-
-        /**
-         * Airavata API server port
-         */
-        'airavata-port' => '8930',
-
-        /**
-         * Airavata API server thrift communication timeout
-         */
-        'airavata-timeout' => '1000000',
-
-        /**
-         * PGA Gateway ID
-         */
-        'gateway-id' => 'scigap',
-
-        /**
-         * Maximum size of a file which is allowed to upload to the server
-         */
-        'server-allowed-file-size' => 64,
-
-        /**
-         * directory in the web server where experiment data is staged. (relative to the PGA documents root)
-         */
-        'experiment-data-dir' => '/../experimentData',
-
-        /**
-         * absolute path of the data dir
-         */
-        'experiment-data-absolute-path' => 'C:\wamp\www\experimentData',
-
-       /**
-         * username for the user for accessing the experiment data over ssh
-         */
-        'ssh-user' => 'root',
-
-        /**
-         * Advanced experiments options
-         */
-        'advanced-experiment-options' => '',
-
-        /**
-         * Default queue name
-         */
-        'queue-name' => 'long',
-
-        /**
-         * Default node count
-         */
-        'node-count' => '1',
-
-        /**
-         * Default total core count
-         */
-        'total-cpu-count' => '16',
-
-        /**
-         * Default wall time limit
-         */
-        'wall-time-limit' => '30',
-
-        /**
-         * Enable app-catalog cache
-         */
-        'enable-app-catalog-cache' => true,
-
-        /**
-         * Life time of app catalog data cache in minutes
-         */
-        'app-catalog-cache-duration' => 5
-    ],
-
-    /**
-     * *****************************************************************
-     *  Portal Related Configurations
-     * *****************************************************************
-     */
-    'portal' => [
-    /**
-         * Whether this portal is the SciGaP admin portal
-         */
-        'super-admin-portal' => true,
-
-        /**
-         * Set the name of theme in use here
-         */
-        'theme' => 'base',
-
-        /**
-         * Portal title
-         */
-        'portal-title' => 'SciGaP Admin Portal',
-
-        /**
-         * Email address of the portal admin. Portal admin well get email notifications for events
-         * such as new user creation
-         */
-        'admin-emails' => ['sgg@iu.edu','eroma.abeysinghe@gmail.com','supun.nakandala@gmail.com'],
-
-        /**
-         * Email account that the portal should login to send emails
-         */
-        'portal-email-username' => 'pga.airavata@gmail.com',
-
-        /**
-         * Password for the portal's email account
-         */
-        'portal-email-password' => 'airavata12',
-
-        /**
-         * SMTP server on which the portal should connect
-         */
-        'portal-smtp-server-host' => 'smtp.gmail.com',
-
-        /**
-         * SMTP server port on which the portal should connect
-         */
-        'portal-smtp-server-port' => '587',
-
-        /**
-         * Set JIRA Issue Collector scripts here.
-         */
-        'jira-help' => 
-        [
-            /**
-             * Report Issue Script issued for your app by Atlassian JIRA
-             */
-            'report-issue-script' => '',
-            /**
-             * Collector id at the end of the above script
-             */
-            'report-issue-collector-id' => '',
-            /**
-             * Create Report Script issued for your app by Atlassian JIRA
-             */
-            'request-feature-script' => '',
-            /**
-             * Collector id at the end of the above script
-             */
-            'request-feature-collector-id' => ''
-        ],
-
-        /**
-         * Set Google Analytics Id here. ID format that generates from  
-         * creating tracker object should be 
-         *
-         * UA-XXXXX-Y 
-         *
-         * for it to be working correctly. Currently it is only set for 
-         * sending pageviews.
-         */
-        'google-analytics-id' => ''
-    ]
-);
\ No newline at end of file


[18/30] airavata-php-gateway git commit: if read only edit disabled

Posted by ma...@apache.org.
if read only edit disabled


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/70f85239
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/70f85239
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/70f85239

Branch: refs/heads/dreg-gateway
Commit: 70f85239e69d9b12aac9b66683af75517e824321
Parents: ae38aa9
Author: scnakandala <su...@gmail.com>
Authored: Wed Feb 15 16:35:39 2017 -0500
Committer: scnakandala <su...@gmail.com>
Committed: Wed Feb 15 16:35:39 2017 -0500

----------------------------------------------------------------------
 app/libraries/ExperimentUtilities.php | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/70f85239/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index 12718f1..8248851 100755
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -784,11 +784,15 @@ class ExperimentUtilities
 
         //var_dump( $inputs); exit;
         foreach ($inputs as $input) {
+            $disabled = "";
+            if($input->isReadOnly)
+                $disabled = "disabled";
+
             switch ($input->type) {
                 case DataType::STRING:
                     echo '<div class="form-group">
                     <label for="experiment-input">' . $input->name . '</label>
-                    <input value="' . $input->value . '" type="text" class="form-control" name="' . $input->sanitizedFormName .
+                    <input '.$disabled . ' value="' . $input->value . '" type="text" class="form-control" name="' . $input->sanitizedFormName .
                         '" id="' . $input->sanitizedFormName .
                         '" placeholder="' . $input->userFriendlyDescription . '"' . $required . '>
                     </div>';
@@ -796,7 +800,7 @@ class ExperimentUtilities
                 case DataType::INTEGER:
                     echo '<div class="form-group">
                     <label for="experiment-input">' . $input->name . '</label>
-                    <input value="' . $input->value . '" type="number" class="form-control" name="' . $input->sanitizedFormName .
+                    <input '.$disabled . ' value="' . $input->value . '" type="number" class="form-control" name="' . $input->sanitizedFormName .
                         '" id="' . $input->sanitizedFormName .
                         '" placeholder="' . $input->userFriendlyDescription . '"' . $required . '>
                     </div>';
@@ -804,7 +808,7 @@ class ExperimentUtilities
                 case DataType::FLOAT:
                     echo '<div class="form-group">
                     <label for="experiment-input">' . $input->name . '</label>
-                    <input value="' . $input->value . '" type="number" step="0.01" class="form-control" name="' . $input->sanitizedFormName .
+                    <input '.$disabled . ' value="' . $input->value . '" type="number" step="0.01" class="form-control" name="' . $input->sanitizedFormName .
                         '" id="' . $input->sanitizedFormName .
                         '" placeholder="' . $input->userFriendlyDescription . '"' . $required . '>
                     </div>';


[25/30] airavata-php-gateway git commit: Update data store id when cloning in the case that the id changed

Posted by ma...@apache.org.
Update data store id when cloning in the case that the id changed


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/975cfa64
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/975cfa64
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/975cfa64

Branch: refs/heads/dreg-gateway
Commit: 975cfa64a9c380e992a5c4f1ad7e10d1021dd7eb
Parents: 863534b
Author: Marcus Christie <ma...@iu.edu>
Authored: Fri Apr 7 15:22:55 2017 -0400
Committer: Marcus Christie <ma...@iu.edu>
Committed: Fri Apr 7 15:22:55 2017 -0400

----------------------------------------------------------------------
 app/libraries/ExperimentUtilities.php | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/975cfa64/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index 2202218..447cd7a 100755
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -691,6 +691,9 @@ class ExperimentUtilities
                 $userHasComputeResourcePreference = array_key_exists($computeResourceId, $userComputeResourcePreferences);
                 $experiment->userConfigurationData->useUserCRPref = $userHasComputeResourcePreference;
             }
+            // In case the gateway-data-store-resource-id has changed since the
+            // original experiment was created, update in this experiment
+            $experiment->userConfigurationData->storageId = Config::get('pga_config.airavata')['gateway-data-store-resource-id'];
             Airavata::updateExperiment(Session::get('authz-token'), $cloneId, $experiment);
 
             $share = SharingUtilities::getAllUserPermissions($expId, ResourceType::EXPERIMENT);


[23/30] airavata-php-gateway git commit: showing download file link only when file exists

Posted by ma...@apache.org.
showing download file link only when file exists


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/026bb9d0
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/026bb9d0
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/026bb9d0

Branch: refs/heads/dreg-gateway
Commit: 026bb9d09ac2b941b8dc1f0e45056a3195136c26
Parents: dc556d7
Author: scnakandala <su...@gmail.com>
Authored: Tue Apr 4 16:01:29 2017 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Tue Apr 4 16:01:29 2017 -0400

----------------------------------------------------------------------
 app/libraries/ExperimentUtilities.php | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/026bb9d0/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index 8248851..81f44f8 100755
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -921,14 +921,19 @@ class ExperimentUtilities
                                 break;
                             }
                         }
-                        $fileName = basename($currentOutputPath);
-                    }else{
+                        $path = parse_url($currentOutputPath);
+                        if(file_exists($path)){
+                            $fileName = basename($currentOutputPath);
+                            echo '<p>' . $output->name . ':&nbsp;<a target="_blank" href="' . URL::to("/")
+                                . '/download/?id=' . urlencode($output->value) . '">' . $fileName
+                                . ' <span class="glyphicon glyphicon-new-window"></span></a></p>';
+                        }
+                    }else {
                         $fileName = basename($output->value);
+                        echo '<p>' . $output->name . ':&nbsp;<a target="_blank" href="' . URL::to("/")
+                            . '/download/?id=' . urlencode($output->value) . '">' . $fileName
+                            . ' <span class="glyphicon glyphicon-new-window"></span></a></p>';
                     }
-                    echo '<p>' . $output->name . ':&nbsp;<a target="_blank" href="' . URL::to("/")
-                        . '/download/?id=' . urlencode($output->value) . '">' . $fileName
-                        . ' <span class="glyphicon glyphicon-new-window"></span></a></p>';
-
                 }
             } elseif ($output->type == DataType::STRING) {
                 echo '<p>' . $output->value . '</p>';


[21/30] airavata-php-gateway git commit: AIRAVATA-2346 Owner is implied to have READ and WRITE permission

Posted by ma...@apache.org.
AIRAVATA-2346 Owner is implied to have READ and WRITE permission


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/0dca1aa5
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/0dca1aa5
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/0dca1aa5

Branch: refs/heads/dreg-gateway
Commit: 0dca1aa5add77c1880f5870baa6e5917d46f79b5
Parents: 3c12fea
Author: Marcus Christie <ma...@iu.edu>
Authored: Fri Mar 24 10:42:43 2017 -0400
Committer: Marcus Christie <ma...@iu.edu>
Committed: Fri Mar 24 10:42:43 2017 -0400

----------------------------------------------------------------------
 app/libraries/SharingUtilities.php | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/0dca1aa5/app/libraries/SharingUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/SharingUtilities.php b/app/libraries/SharingUtilities.php
index fb2fb84..f069e55 100755
--- a/app/libraries/SharingUtilities.php
+++ b/app/libraries/SharingUtilities.php
@@ -25,6 +25,11 @@ class SharingUtilities {
      * @return True if the user has read permission, false otherwise.
      */
     public static function userCanRead($uid, $resourceId, $dataResourceType) {
+        // If the user is the owner, then it is implied they can read the resource
+        $owner = SharingUtilities::getSharedResourceOwner($resourceId, $dataResourceType);
+        if ($uid == $owner) {
+            return true;
+        }
         $read = GrouperUtilities::getAllAccessibleUsers($resourceId, $dataResourceType, ResourcePermissionType::READ);
         foreach($read as $user) {
             if (strcmp($uid, $user) === 0) {
@@ -43,6 +48,11 @@ class SharingUtilities {
      * @return True if the user has write permission, false otherwise.
      */
     public static function userCanWrite($uid, $resourceId, $dataResourceType) {
+        // If the user is the owner, then it is implied they can write to the resource
+        $owner = SharingUtilities::getSharedResourceOwner($resourceId, $dataResourceType);
+        if ($uid == $owner) {
+            return true;
+        }
         $write = GrouperUtilities::getAllAccessibleUsers($resourceId, $dataResourceType, ResourcePermissionType::WRITE);
         foreach($write as $user) {
             if (strcmp($uid, $user) === 0) {


[20/30] airavata-php-gateway git commit: AIRAVATA-2345 Including OWNER in array of users with permissions

Posted by ma...@apache.org.
AIRAVATA-2345 Including OWNER in array of users with permissions


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/3c12fea1
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/3c12fea1
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/3c12fea1

Branch: refs/heads/dreg-gateway
Commit: 3c12fea14ce75fe19f4b566e67b4c2b714a16697
Parents: aba44b6
Author: Marcus Christie <ma...@iu.edu>
Authored: Fri Mar 24 10:13:34 2017 -0400
Committer: Marcus Christie <ma...@iu.edu>
Committed: Fri Mar 24 10:13:34 2017 -0400

----------------------------------------------------------------------
 app/libraries/SharingUtilities.php | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/3c12fea1/app/libraries/SharingUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/SharingUtilities.php b/app/libraries/SharingUtilities.php
index b689b24..fb2fb84 100755
--- a/app/libraries/SharingUtilities.php
+++ b/app/libraries/SharingUtilities.php
@@ -57,13 +57,14 @@ class SharingUtilities {
      *
      * @param $resourceId           Experiment or Project ID
      * @param $dataResourceType     e.g Airavata\Model\Group\ResourceType:PROJECT,Airavata\Model\Group\ResourceType:EXPERIMENT
-     * @return An array [$uid => [read => bool, write => bool]]
+     * @return An array [$uid => [read => bool, write => bool, owner => bool]]
      */
     public static function getAllUserPermissions($resourceId, $dataResourceType) {
         $users = array();
 
         $read = GrouperUtilities::getAllAccessibleUsers($resourceId, $dataResourceType, ResourcePermissionType::READ);
         $write = GrouperUtilities::getAllAccessibleUsers($resourceId, $dataResourceType, ResourcePermissionType::WRITE);
+        $owner = GrouperUtilities::getAllAccessibleUsers($resourceId, $dataResourceType, ResourcePermissionType::OWNER);
 
         foreach($read as $uid) {
             if ($uid !== Session::get('username') && WSIS::usernameExists($uid)) {
@@ -77,6 +78,12 @@ class SharingUtilities {
             }
         }
 
+        foreach($owner as $uid) {
+            if ($uid !== Session::get('username') && WSIS::usernameExists($uid)) {
+                $users[$uid]['owner'] = true;
+            }
+        }
+
         return $users;
     }
 
@@ -138,7 +145,7 @@ class SharingUtilities {
      *
      * @param $resourceId           Experiment or Project ID
      * @param $dataResourceType     e.g Airavata\Model\Group\ResourceType:PROJECT,Airavata\Model\Group\ResourceType:EXPERIMENT
-     * @return An array [uid => [firstname => string, lastname => string, email => string, access => [read => bool, write => bool]]]
+     * @return An array [uid => [firstname => string, lastname => string, email => string, access => [read => bool, write => bool, owner => bool]]]
      *         with access only defined for users with permissions.
      */
     public static function getAllUserProfiles($resourceId=null, $dataResourceType=null) {


[09/30] airavata-php-gateway git commit: setting oauth token

Posted by ma...@apache.org.
setting oauth token


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/2c25f19c
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/2c25f19c
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/2c25f19c

Branch: refs/heads/dreg-gateway
Commit: 2c25f19cdb619c122239919f27515909b7f76147
Parents: 8a7330c
Author: scnakandala <su...@gmail.com>
Authored: Mon Oct 31 15:03:18 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Mon Oct 31 15:03:18 2016 -0400

----------------------------------------------------------------------
 app/controllers/AccountController.php | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2c25f19c/app/controllers/AccountController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php
index 6a50124..0b883eb 100644
--- a/app/controllers/AccountController.php
+++ b/app/controllers/AccountController.php
@@ -130,6 +130,7 @@ class AccountController extends BaseController
             $authzToken->claimsMap['gatewayID'] = Config::get('pga_config.airavata')['gateway-id'];
             $authzToken->claimsMap['userName'] = $username;
 
+            Session::put('oauth-token', $authzToken->accessToken);
             Session::put('authz-token',$authzToken);
             Session::put('oauth-refresh-code',$refreshToken);
             Session::put('oauth-expiration-time',$expirationTime);


[10/30] airavata-php-gateway git commit: setting gateway approaval status

Posted by ma...@apache.org.
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/dreg-gateway
Commit: 54de692115bd88e1787b05db812d6cd679172603
Parents: 2c25f19
Author: scnakandala <su...@gmail.com>
Authored: Wed Nov 2 10:01:42 2016 -0400
Committer: scnakandala <su...@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);
     }