You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2015/10/07 21:53:45 UTC
airavata-php-gateway git commit: Adding static working directory
Repository: airavata-php-gateway
Updated Branches:
refs/heads/master 42e907cd7 -> a1e038072
Adding static working directory
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/a1e03807
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/a1e03807
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/a1e03807
Branch: refs/heads/master
Commit: a1e03807269b66ef04fe572b67ea8f5423aaf91f
Parents: 42e907c
Author: scnakandala <su...@gmail.com>
Authored: Wed Oct 7 15:51:23 2015 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Wed Oct 7 15:51:23 2015 -0400
----------------------------------------------------------------------
app/libraries/ExperimentUtilities.php | 1 +
app/views/partials/experiment-queue-block.blade.php | 10 ++++++++++
2 files changed, 11 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/a1e03807/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index 42e9300..3055d57 100644
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -143,6 +143,7 @@ class ExperimentUtilities
$scheduling->wallTimeLimit = $_POST['wall-time'];
$scheduling->totalPhysicalMemory = $_POST['total-physical-memory'];
$scheduling->resourceHostId = $_POST['compute-resource'];
+ $scheduling->staticWorkingDir = $_POST['static-working-dir'];
$userConfigData = new UserConfigurationDataModel();
$userConfigData->computationalResourceScheduling = $scheduling;
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/a1e03807/app/views/partials/experiment-queue-block.blade.php
----------------------------------------------------------------------
diff --git a/app/views/partials/experiment-queue-block.blade.php b/app/views/partials/experiment-queue-block.blade.php
index 8ef48dc..91c95d4 100644
--- a/app/views/partials/experiment-queue-block.blade.php
+++ b/app/views/partials/experiment-queue-block.blade.php
@@ -59,6 +59,16 @@
<span class="input-group-addon">MB</span>
</div>
</div>
+ <div class="form-group">
+ <label for="static-working-dir">Static Working Directory<span
+ class="static-working-dir alert-warning"></span></label>
+
+ <div class="input-group">
+ <input type="text" class="form-control" name="static-working-dir" id="static-working-dir"
+ value="@if(isset($expVal) ){{ $expVal['scheduling']->totalPhysicalMemory }}@endif"
+ @if(isset($expVal)) @if(!$expVal['editable']){{"disabled"}} @endif @endif>
+ </div>
+ </div>
</div>
<script>