Author: smarru
Date: Fri Sep 27 03:02:10 2013
New Revision: 1526780
URL: http://svn.apache.org/r1526780
Log:
commiting test cases from Sanchit for AIRAVATA-916
Added:
airavata/sandbox/gsoc2013/test/spec/controllers/WebUITest.js
Removed:
airavata/sandbox/gsoc2013/app/views/builder.newApplicationDeployment.html
Modified:
airavata/sandbox/gsoc2013/app/views/builder.addHost.html
airavata/sandbox/gsoc2013/app/views/builder.globusFileTransfer.html
airavata/sandbox/gsoc2013/app/views/builder.launchWorkflow.html
airavata/sandbox/gsoc2013/app/views/builder.registerApplication.html
airavata/sandbox/gsoc2013/app/views/builder.workflowMonitoring.html
airavata/sandbox/gsoc2013/app/views/builder.workflowProperties.html
airavata/sandbox/gsoc2013/app/views/index.sidenavbar.html
Modified: airavata/sandbox/gsoc2013/app/views/builder.addHost.html
URL:
http://svn.apache.org/viewvc/airavata/sandbox/gsoc2013/app/views/builder.addHost.html?rev=1526780&r1=1526779&r2=1526780&view=diff
==============================================================================
--- airavata/sandbox/gsoc2013/app/views/builder.addHost.html (original)
+++ airavata/sandbox/gsoc2013/app/views/builder.addHost.html Fri Sep 27
03:02:10 2013
@@ -17,13 +17,14 @@ specific language governing permissions
under the License.
-->
<div ng-controller="HostDescriptor">
- <form name="addhostForm" style="padding:10px;" novalidate
ng-submit="saveHostDescriptor();" class="form-horizontal">
+ <form class="form-horizontal" role="form" name="addhostForm"
style="padding:10px;" novalidate ng-submit="saveHostDescriptor();">
<fieldset>
<legend>Register Host</legend>
- <div class="control-group">
- <label for="inputHostId" class="control-label">Host Id</label>
- <div class="controls">
- <input type="text" id="inputHostId" name="hostId" placeholder="Host
Id" ng-model="addHost.hostId" ng-pattern="/^[a-zA-Z0-9]{4,10}$/" required>
+
+ <div class="form-group">
+ <label for="inputHostId" class="col-lg-3 control-label">Host Id</label>
+ <div class="col-lg-9">
+ <input class="form-control" type="text" id="inputHostId"
name="hostId" placeholder="Host Id" ng-model="addHost.hostId"
ng-pattern="/^[a-zA-Z0-9]{4,10}$/" required>
<div class="text-error" ng-show="addhostForm.hostId.$dirty &&
addhostForm.hostId.$invalid">
<small class="text-error"
ng-show="addhostForm.hostId.$error.required"> *Required.</small>
<small class="text-error"
ng-show="addhostForm.hostId.$error.pattern"> Alpha-Numeric values between 4-10
characters.</small>
@@ -31,10 +32,10 @@ under the License.
</div>
</div>
- <div class="control-group">
- <label class="control-label" for="inputHostAddress">Host
Address</label>
- <div class="controls">
- <input type="url" id="inputHostAddress" name="hostAddress"
placeholder="Host Address" ng-model="addHost.hostAddress" required>
+ <div class="form-group">
+ <label class="col-lg-3 control-label" for="inputHostAddress">Host
Address</label>
+ <div class="col-lg-9">
+ <input class="form-control" type="url" id="inputHostAddress"
name="hostAddress" placeholder="Host Address" ng-model="addHost.hostAddress"
required>
<div class="text-error" ng-show="addhostForm.hostAddress.$dirty &&
addhostForm.hostAddress.$invalid">
<small class="text-error"
ng-show="addhostForm.hostAddress.$error.required"> *Required.</small>
<small class="text-error"
ng-show="addhostForm.hostAddress.$error.url"> URL Expected. </small>
@@ -42,19 +43,19 @@ under the License.
</div>
</div>
- <div class="control-group">
- <label class="control-label" for="resourceProtocol">Resource
Protocol</label>
- <div class="controls">
- <select id="resourceProtocol" name="rp"
ng-model="addHost.resourceProtocol" ng-options="protocol.name for protocol in
protocols" required>
+ <div class="form-group">
+ <label class="col-lg-3 control-label" for="resourceProtocol">Resource
Protocol</label>
+ <div class="col-lg-9">
+ <select class="form-control" id="resourceProtocol" name="rp"
ng-model="addHost.resourceProtocol" ng-options="protocol.name for protocol in
protocols" required>
<option value="">-- Select Protocol --</option>
</select>
</div>
</div>
- <div class="control-group">
- <label class="control-label"
ng-show="addHost.resourceProtocol.configuration" for="gramEndpoint">Gram
Endpoint</label>
- <div class="controls">
- <input type="url" id="gramEndpoint" name="gramep" placeholder="Gram
Endpoint" ng-model="addHost.gramEndpoint"
ng-show="addHost.resourceProtocol.configuration"
ng-required="addHost.resourceProtocol.configuration">
+ <div class="form-group">
+ <label class="col-lg-3 control-label"
ng-show="addHost.resourceProtocol.configuration" for="gramEndpoint">Gram
Endpoint</label>
+ <div class="col-lg-9">
+ <input class="form-control" type="url" id="gramEndpoint"
name="gramep" placeholder="Gram Endpoint" ng-model="addHost.gramEndpoint"
ng-show="addHost.resourceProtocol.configuration"
ng-required="addHost.resourceProtocol.configuration">
<div class="text-error" ng-show="addhostForm.gramep.$dirty &&
addhostForm.gramep.$invalid">
<small class="text-error"
ng-show="addhostForm.gramep.$error.required"> *Required.</small>
<small class="text-error" ng-show="addhostForm.gramep.$error.url">
URL Expected. </small>
@@ -62,10 +63,10 @@ under the License.
</div>
</div>
- <div class="control-group">
- <label class="control-label"
ng-show="addHost.resourceProtocol.configuration" for="gridFTPEndpoint">Grid FTP
Endpoint</label>
- <div class="controls">
- <input type="url" id="gridFTPEndpoint" name="gridep"
placeholder="Grid FTP Endpoint" ng-model="addHost.gridFTPEndpoint"
ng-show="addHost.resourceProtocol.configuration"
ng-required="addHost.resourceProtocol.configuration">
+ <div class="form-group">
+ <label class="col-lg-3 control-label"
ng-show="addHost.resourceProtocol.configuration" for="gridFTPEndpoint">Grid FTP
Endpoint</label>
+ <div class="col-lg-9">
+ <input class="form-control" type="url" id="gridFTPEndpoint"
name="gridep" placeholder="Grid FTP Endpoint"
ng-model="addHost.gridFTPEndpoint"
ng-show="addHost.resourceProtocol.configuration"
ng-required="addHost.resourceProtocol.configuration">
<div class="text-error" ng-show="addhostForm.gridep.$dirty &&
addhostForm.gridep.$invalid">
<small class="text-error"
ng-show="addhostForm.gridep.$error.required"> *Required.</small>
<small class="text-error" ng-show="addhostForm.gridep.$error.url">
URL Expected. </small>
@@ -73,12 +74,12 @@ under the License.
</div>
</div>
- <div class="control-group">
- <div class="controls">
- <button type="submit" ng-disabled="addhostForm.$invalid" class="btn
btn-default">Save</button>
+ <div class="form-group">
+ <div class="col-lg-offset-3 col-lg-9">
+ <button type="submit" ng-disabled="addhostForm.$invalid" class="btn
btn-primary">Save</button>
<a class="btn btn-default" href="#/exec">Cancel</a>
</div>
</div>
</fieldset>
</form>
-</div>
+</div>
\ No newline at end of file
Modified: airavata/sandbox/gsoc2013/app/views/builder.globusFileTransfer.html
URL:
http://svn.apache.org/viewvc/airavata/sandbox/gsoc2013/app/views/builder.globusFileTransfer.html?rev=1526780&r1=1526779&r2=1526780&view=diff
==============================================================================
--- airavata/sandbox/gsoc2013/app/views/builder.globusFileTransfer.html
(original)
+++ airavata/sandbox/gsoc2013/app/views/builder.globusFileTransfer.html Fri Sep
27 03:02:10 2013
@@ -17,13 +17,13 @@ specific language governing permissions
under the License.
-->
<div ng-controller="FileTransfer">
- <form name="fileTransferForm" style="padding:10px;" novalidate
ng-submit="saveGlobusFileTransfer();" class="form-horizontal">
+ <form name="fileTransferForm" style="padding:10px;" novalidate
ng-submit="saveGlobusFileTransfer();" class="form-horizontal" role="form" >
<fieldset>
<legend>Globus File Transfer</legend>
- <div class="control-group">
- <label for="inputuserName" class="control-label">User Name</label>
- <div class="controls">
- <input type="text" id="inputuserName" name="userName"
placeholder="User Name" ng-model="fileTransfer.userName"
ng-pattern="/^[a-zA-Z0-9]{4,10}$/" required>
+ <div class="form-group">
+ <label for="inputuserName" class="col-lg-3 control-label">User
Name</label>
+ <div class="col-lg-9">
+ <input class="form-control" type="text" id="inputuserName"
name="userName" placeholder="User Name" ng-model="fileTransfer.userName"
ng-pattern="/^[a-zA-Z0-9]{4,10}$/" required>
<div class="text-error" ng-show="fileTransferForm.userName.$dirty &&
fileTransferForm.userName.$invalid">
<small class="text-error"
ng-show="fileTransferForm.userName.$error.required"> *Required.</small>
<small class="text-error"
ng-show="fileTransferForm.userName.$error.pattern"> Alpha-Numeric values
between 4-10 characters.</small>
@@ -31,10 +31,10 @@ under the License.
</div>
</div>
- <div class="control-group">
- <label for="inputCaFile" class="control-label">CA File</label>
- <div class="controls">
- <input type="text" id="inputCaFile" name="caFile" placeholder="CA
File" ng-model="fileTransfer.caFile" ng-pattern="/^[a-zA-Z0-9]{4,10}$/"
required>
+ <div class="form-group">
+ <label for="inputCaFile" class="col-lg-3 control-label">CA File</label>
+ <div class="col-lg-9">
+ <input class="form-control" type="text" id="inputCaFile"
name="caFile" placeholder="CA File" ng-model="fileTransfer.caFile"
ng-pattern="/^[a-zA-Z0-9]{4,10}$/" required>
<div class="text-error" ng-show="fileTransferForm.caFile.$dirty &&
fileTransferForm.caFile.$invalid">
<small class="text-error"
ng-show="fileTransferForm.caFile.$error.required"> *Required.</small>
<small class="text-error"
ng-show="fileTransferForm.caFile.$error.pattern"> Alpha-Numeric values between
4-10 characters.</small>
@@ -42,10 +42,10 @@ under the License.
</div>
</div>
- <div class="control-group">
- <label for="inputCertificateFile" class="control-label">Certificate
File</label>
- <div class="controls">
- <input type="text" id="inputCertificateFile" name="certificateFile"
placeholder="Certificate File" ng-model="fileTransfer.certificateFile"
ng-pattern="/^[a-zA-Z0-9]{4,10}$/" required>
+ <div class="form-group">
+ <label for="inputCertificateFile" class="col-lg-3
control-label">Certificate File</label>
+ <div class="col-lg-9">
+ <input class="form-control" type="text" id="inputCertificateFile"
name="certificateFile" placeholder="Certificate File"
ng-model="fileTransfer.certificateFile" ng-pattern="/^[a-zA-Z0-9]{4,10}$/"
required>
<div class="text-error"
ng-show="fileTransferForm.certificateFile.$dirty &&
fileTransferForm.certificateFile.$invalid">
<small class="text-error"
ng-show="fileTransferForm.certificateFile.$error.required"> *Required.</small>
<small class="text-error"
ng-show="fileTransferForm.certificateFile.$error.pattern"> Alpha-Numeric values
between 4-10 characters.</small>
@@ -53,10 +53,10 @@ under the License.
</div>
</div>
- <div class="control-group">
- <label for="inputKeyFile" class="control-label">Key File</label>
- <div class="controls">
- <input type="text" id="inputKeyFile" name="keyFile" placeholder="Key
File" ng-model="fileTransfer.keyFile" ng-pattern="/^[a-zA-Z0-9]{4,10}$/"
required>
+ <div class="form-group">
+ <label for="inputKeyFile" class="col-lg-3 control-label">Key
File</label>
+ <div class="col-lg-9">
+ <input class="form-control" type="text" id="inputKeyFile"
name="keyFile" placeholder="Key File" ng-model="fileTransfer.keyFile"
ng-pattern="/^[a-zA-Z0-9]{4,10}$/" required>
<div class="text-error" ng-show="fileTransferForm.keyFile.$dirty &&
fileTransferForm.keyFile.$invalid">
<small class="text-error"
ng-show="fileTransferForm.keyFile.$error.required"> *Required.</small>
<small class="text-error"
ng-show="fileTransferForm.keyFile.$error.pattern"> Alpha-Numeric values between
4-10 characters.</small>
@@ -64,10 +64,10 @@ under the License.
</div>
</div>
- <div class="control-group">
- <label for="inputSourceEndpoint" class="control-label">Source
Endpoint</label>
- <div class="controls">
- <input type="url" id="inputSourceEndpoint" name="sourceEndpoint"
placeholder="Source Endpoint" ng-model="fileTransfer.sourceEndpoint" required>
+ <div class="form-group">
+ <label for="inputSourceEndpoint" class="col-lg-3 control-label">Source
Endpoint</label>
+ <div class="col-lg-9">
+ <input class="form-control" type="url" id="inputSourceEndpoint"
name="sourceEndpoint" placeholder="Source Endpoint"
ng-model="fileTransfer.sourceEndpoint" required>
<div class="text-error"
ng-show="fileTransferForm.sourceEndpoint.$dirty &&
fileTransferForm.sourceEndpoint.$invalid">
<small class="text-error"
ng-show="fileTransferForm.sourceEndpoint.$error.required"> *Required.</small>
<small class="text-error"
ng-show="fileTransferForm.sourceEndpoint.$error.url"> URL Expected</small>
@@ -75,10 +75,10 @@ under the License.
</div>
</div>
- <div class="control-group">
- <label for="inputSourceFilePath" class="control-label">Source File
Path</label>
- <div class="controls">
- <input type="text" id="inputSourceFilePath" name="sourceFilePath"
placeholder="Source File Path" ng-model="fileTransfer.sourceFilePath"
ng-pattern="/^[a-zA-Z0-9]{4,10}$/" required>
+ <div class="form-group">
+ <label for="inputSourceFilePath" class="col-lg-3 control-label">Source
File Path</label>
+ <div class="col-lg-9">
+ <input class="form-control" type="text" id="inputSourceFilePath"
name="sourceFilePath" placeholder="Source File Path"
ng-model="fileTransfer.sourceFilePath" ng-pattern="/^[a-zA-Z0-9]{4,10}$/"
required>
<div class="text-error"
ng-show="fileTransferForm.sourceFilePath.$dirty &&
fileTransferForm.sourceFilePath.$invalid">
<small class="text-error"
ng-show="fileTransferForm.sourceFilePath.$error.required"> *Required.</small>
<small class="text-error"
ng-show="fileTransferForm.sourceFilePath.$error.pattern"> Alpha-Numeric values
between 4-10 characters.</small>
@@ -86,10 +86,10 @@ under the License.
</div>
</div>
- <div class="control-group">
- <label for="inputDestinationEndpoint"
class="control-label">Destination Endpoint</label>
- <div class="controls">
- <input type="url" id="inputDestinationEndpoint"
name="destinationEndpoint" placeholder="Destination Endpoint"
ng-model="fileTransfer.destinationEndpoint" required>
+ <div class="form-group">
+ <label for="inputDestinationEndpoint" class="col-lg-3
control-label">Destination Endpoint</label>
+ <div class="col-lg-9">
+ <input class="form-control" type="url"
id="inputDestinationEndpoint" name="destinationEndpoint"
placeholder="Destination Endpoint" ng-model="fileTransfer.destinationEndpoint"
required>
<div class="text-error"
ng-show="fileTransferForm.destinationEndpoint.$dirty &&
fileTransferForm.destinationEndpoint.$invalid">
<small class="text-error"
ng-show="fileTransferForm.destinationEndpoint.$error.required">
*Required.</small>
<small class="text-error"
ng-show="fileTransferForm.destinationEndpoint.$error.url"> URL expected.</small>
@@ -97,10 +97,10 @@ under the License.
</div>
</div>
- <div class="control-group">
- <label for="inputDestinationFilePath"
class="control-label">Destination File Path</label>
- <div class="controls">
- <input type="text" id="inputDestinationFilePath"
name="destinationFilePath" placeholder="Destination File Path"
ng-model="fileTransfer.destinationFilePath" ng-pattern="/^[a-zA-Z0-9]{4,10}$/"
required>
+ <div class="form-group">
+ <label for="inputDestinationFilePath" class="col-lg-3
control-label">Destination File Path</label>
+ <div class="col-lg-9">
+ <input class="form-control" type="text"
id="inputDestinationFilePath" name="destinationFilePath"
placeholder="Destination File Path" ng-model="fileTransfer.destinationFilePath"
ng-pattern="/^[a-zA-Z0-9]{4,10}$/" required>
<div class="text-error"
ng-show="fileTransferForm.destinationFilePath.$dirty &&
fileTransferForm.destinationFilePath.$invalid">
<small class="text-error"
ng-show="fileTransferForm.destinationFilePath.$error.required">
*Required.</small>
<small class="text-error"
ng-show="fileTransferForm.destinationFilePath.$error.pattern"> Alpha-Numeric
values between 4-10 characters.</small>
@@ -108,9 +108,9 @@ under the License.
</div>
</div>
- <div class="control-group">
- <div class="controls">
- <button type="submit" ng-disabled="fileTransferForm.$invalid"
class="btn btn-default">Save</button>
+ <div class="form-group">
+ <div class="col-lg-offset-3 col-lg-9">
+ <button type="submit" ng-disabled="fileTransferForm.$invalid"
class="btn btn-primary">Save</button>
<a class="btn btn-default" href="#/exec">Cancel</a>
</div>
</div>
Modified: airavata/sandbox/gsoc2013/app/views/builder.launchWorkflow.html
URL:
http://svn.apache.org/viewvc/airavata/sandbox/gsoc2013/app/views/builder.launchWorkflow.html?rev=1526780&r1=1526779&r2=1526780&view=diff
==============================================================================
--- airavata/sandbox/gsoc2013/app/views/builder.launchWorkflow.html (original)
+++ airavata/sandbox/gsoc2013/app/views/builder.launchWorkflow.html Fri Sep 27
03:02:10 2013
@@ -17,39 +17,39 @@ specific language governing permissions
under the License.
-->
<div ng-controller="WorkflowLaunch">
- <form name="launchWorkflowForm" style="padding:10px;"
ng-submit="runExperiment();" class="form-horizontal">
+ <form name="launchWorkflowForm" style="padding:10px;"
ng-submit="runExperiment();" class="form-horizontal" role="form">
<fieldset>
<legend>Launch Workflow</legend>
- <div class="control-group" ng-repeat="input in
workflowParams.workflowInputs">
- <label class="control-label"for={{input.id}}>{{input.name}}
{{input.dataType}}</label>
- <div class="controls">
- <input type="text" id={{input.id}} name={{input.name}}
placeholder={{input.name}} ng-model="input.value" required>
+ <div class="form-group" ng-repeat="input in
workflowParams.workflowInputs">
+ <label class="col-lg-3 control-label"for={{input.id}}>{{input.name}}
{{input.dataType}}</label>
+ <div class="col-lg-9">
+ <input class="form-control" type="text" id={{input.id}}
name={{input.name}} placeholder={{input.name}} ng-model="input.value" required>
</div>
</div>
- <div class="control-group">
- <label class="control-label" for="inputExperimentName">Experiment
Name</label>
- <div class="controls">
- <input type="text" id="inputExperimentName" placeholder="Experiment
Name" ng-model="workflowParams.experimentName" required>
+ <div class="form-group">
+ <label class="col-lg-3 control-label"
for="inputExperimentName">Experiment Name</label>
+ <div class="col-lg-9">
+ <input class="form-control" type="text" id="inputExperimentName"
placeholder="Experiment Name" ng-model="workflowParams.experimentName" required>
</div>
</div>
- <div class="control-group">
- <label class="control-label"
for="inputWorkflowInterpreterURL">Workflow Interpreter URL</i></label>
- <div class="controls">
- <input type="url" id="inputWorkflowInterpreterURL"
placeholder="Workflow Interpreter URL"
ng-model="workflowParams.workflowInterpreterURL" required>
+ <div class="form-group">
+ <label class="col-lg-3 control-label"
for="inputWorkflowInterpreterURL">Workflow Interpreter URL</i></label>
+ <div class="col-lg-9">
+ <input class="form-control" type="url"
id="inputWorkflowInterpreterURL" placeholder="Workflow Interpreter URL"
ng-model="workflowParams.workflowInterpreterURL" required>
</div>
</div>
- <div class="control-group">
- <label class="control-label" for="inputGFacURL">GFac URL</label>
- <div class="controls">
- <input type="url" id="inputGFacURL" placeholder="GFac URL"
ng-model="workflowParams.gFacURL" required="">
+ <div class="form-group">
+ <label class="col-lg-3 control-label" for="inputGFacURL">GFac
URL</label>
+ <div class="col-lg-9">
+ <input class="form-control" class="form-control" type="url"
id="inputGFacURL" placeholder="GFac URL" ng-model="workflowParams.gFacURL"
required="">
</div>
</div>
- <div class="control-group">
- <div class="controls">
+ <div class="form-group">
+ <div class="col-lg-offset-3 col-lg-9">
<button type="submit" class="btn btn-primary">Run</button>
<!--button type="submit" ng-disabled="launchWorkflowForm.$invalid"
class="btn btn-primary">Run</button-->
<a class="btn btn-default" href="#/exec">Cancel</a>
Modified: airavata/sandbox/gsoc2013/app/views/builder.registerApplication.html
URL:
http://svn.apache.org/viewvc/airavata/sandbox/gsoc2013/app/views/builder.registerApplication.html?rev=1526780&r1=1526779&r2=1526780&view=diff
==============================================================================
--- airavata/sandbox/gsoc2013/app/views/builder.registerApplication.html
(original)
+++ airavata/sandbox/gsoc2013/app/views/builder.registerApplication.html Fri
Sep 27 03:02:10 2013
@@ -17,20 +17,20 @@ specific language governing permissions
under the License.
-->
<div ng-controller="ApplicationDescriptor">
- <form name="registerApplicationForm"
ng-submit="saveApplicationDescriptor();" ng-hide="isNewDeployment">
+ <form role="form" name="registerApplicationForm"
ng-submit="saveApplicationDescriptor();" ng-hide="isNewDeployment">
<fieldset>
<legend>{{regAppFormLegend}}</legend>
- <div class="control-group">
+ <div class="form-group">
<label class="control-label" for="inputServiceName">Application
Name</label>
<div class="controls">
- <input type="text" id="inputServiceName" name="ServiceName"
placeholder="Service Name" ng-model="serviceDescriptor.serviceName" required>
+ <input class="form-control" type="text" id="inputServiceName"
name="ServiceName" placeholder="Service Name"
ng-model="serviceDescriptor.serviceName" required>
</div>
</div>
- <div class="control-group">
+ <div class="form-group">
<label class="control-label" for="tblParameters">Application
Parameters</label>
<div class="controls">
<div><a href ng-click="serviceDescriptor.parameters.push({})"><i
class="icon-plus-sign"> Add Parameter</i></a></div>
- <table style="width: 55%" id="tblParameters" class="table
table-striped table-bordered table-hovered table-condensed">
+ <table id="tblParameters" class="table table-striped table-bordered
table-hovered table-condensed">
<thead>
<tr>
<th>I/O</th>
@@ -43,20 +43,20 @@ under the License.
<tbody>
<tr ng-repeat="parameter in serviceDescriptor.parameters">
<td class="col-md-2">
- <select style="width: 80px;" id="parameterIO"
name="ParameterIO" ng-model="parameter.io" ng-options="io for io in
parameterIO" required>
+ <select class="form-control" id="parameterIO"
name="ParameterIO" ng-model="parameter.io" ng-options="io for io in
parameterIO" required>
<option value="">-Select-</option>
</select>
</td>
<td class="col-md-3">
- <input type="text" id="inputParameterName"
name="ParameterName" placeholder="Parameter Name" ng-model="parameter.name"
required>
+ <input class="form-control" type="text"
id="inputParameterName" name="ParameterName" placeholder="Parameter Name"
ng-model="parameter.name" required>
</td>
<td class="col-md-3">
- <select id="parameterType" name="ParameterType"
ng-model="parameter.type" ng-options="type for type in parameterType" required>
+ <select class="form-control" id="parameterType"
name="ParameterType" ng-model="parameter.type" ng-options="type for type in
parameterType" required>
<option value="">-Select-</option>
</select>
</td>
<td class="col-md-3">
- <input type="text" id="parameterDescription"
name="ParameterDescription" placeholder="Parameter Description"
ng-model="parameter.description">
+ <input class="form-control" type="text"
id="parameterDescription" name="ParameterDescription" placeholder="Parameter
Description" ng-model="parameter.description">
</td>
<td class="col-md-1">
<a href ng-click="serviceDescriptor.parameters.splice($index,
1)"><i class="icon-remove-sign"></i></a>
@@ -69,7 +69,7 @@ under the License.
</label>
</div>
</div>
- <div class="control-group">
+ <div class="form-group">
<label class="control-label" for="tblDeployedApp">Deployments</label>
<div class="controls">
<table style="width: 55%" id="tblDeployedApp" class="table
table-striped table-bordered table-hovered table-condensed">
@@ -103,166 +103,168 @@ under the License.
</div>
</fieldset>
</form>
- <form name="newAppDeployFrom" ng-show="isNewDeployment"
class="form-horizontal">
+ <form name="newAppDeployFrom" ng-show="isNewDeployment"
class="form-horizontal" role="form">
<fieldset>
<div class="row">
<legend>{{newAppDeployFromLegend}}</legend>
- <div class="col-md-4">
- <div class="control-group">
- <label class="control-label" for="applicationHost"> Application
Host
+ <div class="col-md-6">
+ <div class="form-group">
+ <label class="col-md-5 control-label" for="applicationHost">
Application Host
<a href="#/exec/addHost" data-toggle="tooltip"
data-placement="right" title="Create New Host"><i
class="icon-plus-sign"></i></a>
</label>
- <div class="controls">
- <select id="applicationHost"
ng-model="applicationDescriptor.hostDescName" ng-options="host for host in
applicationHost" required>
+ <div class="col-md-7">
+ <select class="form-control" id="applicationHost"
ng-model="applicationDescriptor.hostDescName" ng-options="host for host in
applicationHost" required>
<option value="">-Select-</option>
</select>
</div>
</div>
- <div class="control-group">
- <label class="control-label" for="executablePath">Executable
Path</label>
- <div class="controls">
- <input type="text" id="executablePath" placeholder="Executable
Path" ng-model="applicationDescriptor.executablePath" required>
- </div>
- </div>
- <div class="control-group">
- <label class="control-label" for="scratchWorkingDirectory">Scratch
Working Directory</label>
- <div class="controls">
- <input type="text" id="scratchWorkingDirectory"
placeholder="Scratch Working Directory"
ng-model="applicationDescriptor.workingDir" required>
- </div>
- </div>
- <h6>Locations</h6>
- <div class="control-group">
- <label class="control-label" for="inputDirectory">Input
Directory</label>
- <div class="controls">
- <input type="text" id="inputDirectory" placeholder="Input
Directory" ng-model="applicationDescriptor.inputDir">
- </div>
- </div>
- <div class="control-group">
- <label class="control-label" for="outputDirectory">Output
Directory</label>
- <div class="controls">
- <input type="text" id="outputDirectory" placeholder="Output
Directory" ng-model="applicationDescriptor.outputDir">
- </div>
- </div>
- <div class="control-group">
- <label class="control-label" for="staticWorkingDir">Static Working
Directory</label>
- <div class="controls">
- <input type="text" id="staticWorkingDir" placeholder="Static
Working Directory" ng-model="applicationDescriptor.staticWorkingDir">
- </div>
- </div>
- <h6>Program Data</h6>
- <div class="control-group">
- <label class="control-label" for="inputSTDIN">STDIN</label>
- <div class="controls">
- <input type="text" id="inputSTDIN" placeholder="Standard Input"
ng-model="applicationDescriptor.stdIn">
- </div>
- </div>
- <div class="control-group">
- <label class="control-label" for="inputSTDOUT">STDOUT</label>
- <div class="controls">
- <input type="text" id="inputSTDOUT" placeholder="Standard
Output" ng-model="applicationDescriptor.stdOut">
- </div>
- </div>
- <div class="control-group">
- <label class="control-label" for="inputSTDERR">STDERR</label>
- <div class="controls">
- <input type="text" id="inputSTDERR" placeholder="Standard Error"
ng-model="applicationDescriptor.stdError">
- </div>
- </div>
- <h6>Environmental Variables</h6>
- <div><a href
ng-click="applicationDescriptor.environmentVariables.push({})"><i
class="icon-plus-sign"> Add Environment Variable</i></a></div>
- <div class="controls-group">
- <table style="width: 55%" id="tblEnvironmentalVar" class="table
table-striped table-bordered table-hovered table-condensed">
- <thead>
- <tr>
- <th>Name</th>
- <th>Value</th>
- <th>Delete</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="variables in
applicationDescriptor.environmentVariables">
- <td class="col-md-2">
- <input type="text" id="VarName" name="VarName"
placeholder="Variable Name" ng-model="variables.name" required>
- </td>
- <td class="col-md-1">
- <input type="number" id="VarValue" name="VarValue"
placeholder="Variable Value" ng-model="variables.value" required>
- </td>
- <td class="col-md-1">
- <a href
ng-click="applicationDescriptor.environmentVariables.splice($index, 1)"><i
class="icon-remove-sign"></i></a>
- </td>
- </tr>
- </tbody>
- </table>
+ <div class="form-group">
+ <label class="col-md-5 control-label"
for="executablePath">Executable Path</label>
+ <div class="col-md-7">
+ <input class="form-control" type="text" id="executablePath"
placeholder="Executable Path" ng-model="applicationDescriptor.executablePath"
required>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="col-md-5 control-label"
for="scratchWorkingDirectory">Scratch Working Directory</label>
+ <div class="col-md-7">
+ <input class="form-control" type="text"
id="scratchWorkingDirectory" placeholder="Scratch Working Directory"
ng-model="applicationDescriptor.workingDir" required>
+ </div>
+ </div>
+ <h5 >Locations</h5 >
+ <div class="form-group">
+ <label class="col-md-5 control-label" for="inputDirectory">Input
Directory</label>
+ <div class="col-md-7">
+ <input class="form-control" type="text" id="inputDirectory"
placeholder="Input Directory" ng-model="applicationDescriptor.inputDir">
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="col-md-5 control-label" for="outputDirectory">Output
Directory</label>
+ <div class="col-md-7">
+ <input class="form-control" type="text" id="outputDirectory"
placeholder="Output Directory" ng-model="applicationDescriptor.outputDir">
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="col-md-5 control-label"
for="staticWorkingDir">Static Working Directory</label>
+ <div class="col-md-7">
+ <input class="form-control" type="text" id="staticWorkingDir"
placeholder="Static Working Directory"
ng-model="applicationDescriptor.staticWorkingDir">
+ </div>
+ </div>
+ <h5 >Program Data</h5 >
+ <div class="form-group">
+ <label class="col-md-5 control-label"
for="inputSTDIN">STDIN</label>
+ <div class="col-md-7">
+ <input class="form-control" type="text" id="inputSTDIN"
placeholder="Standard Input" ng-model="applicationDescriptor.stdIn">
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="col-md-5 control-label"
for="inputSTDOUT">STDOUT</label>
+ <div class="col-md-7">
+ <input class="form-control" type="text" id="inputSTDOUT"
placeholder="Standard Output" ng-model="applicationDescriptor.stdOut">
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="col-md-5 control-label"
for="inputSTDERR">STDERR</label>
+ <div class="col-md-7">
+ <input class="form-control" type="text" id="inputSTDERR"
placeholder="Standard Error" ng-model="applicationDescriptor.stdError">
+ </div>
</div>
</div>
- <div class="col-md-4"
ng-hide="applicationDescriptor.hostDescName=='LocalHost' ||
applicationDescriptor.hostDescName=='' ">
- <h6>HPC Configurations</h6>
- <div class="control-group">
- <label class="control-label" for="jobType">Job Type</label>
- <div class="controls">
- <select id="jobType" ng-model="applicationDescriptor.jobType"
ng-options="job for job in jobTypes" required>
+ <div class="col-md-6"
ng-hide="applicationDescriptor.hostDescName=='LocalHost' ||
applicationDescriptor.hostDescName=='' ">
+ <h5 >HPC Configurations</h5 >
+ <div class="form-group">
+ <label class="col-md-5 control-label" for="jobType">Job
Type</label>
+ <div class="col-md-7">
+ <select class="form-control" id="jobType"
ng-model="applicationDescriptor.jobType" ng-options="job for job in jobTypes"
required>
<option value="">-Select-</option>
</select>
</div>
</div>
- <div class="control-group">
- <label class="control-label" for="ProjectNumber">Project Account
Number</label>
- <div class="controls">
- <input type="text" id="ProjectNumber" placeholder="Project
Account Number" ng-model="applicationDescriptor.projectNumber" required>
+ <div class="form-group">
+ <label class="col-md-5 control-label" for="ProjectNumber">Project
Account Number</label>
+ <div class="col-md-7">
+ <input class="form-control" type="text" id="ProjectNumber"
placeholder="Project Account Number"
ng-model="applicationDescriptor.projectNumber" required>
</div>
</div>
- <div class="control-group">
- <label class="control-label" for="ProjectDescription">Project
Account Description</label>
- <div class="controls">
- <input type="text" id="ProjectDescription" placeholder="Project
Account Description" ng-model="applicationDescriptor.projectDescription">
+ <div class="form-group">
+ <label class="col-md-5 control-label"
for="ProjectDescription">Project Account Description</label>
+ <div class="col-md-7">
+ <input class="form-control" type="text" id="ProjectDescription"
placeholder="Project Account Description"
ng-model="applicationDescriptor.projectDescription">
</div>
</div>
- <div class="control-group">
- <label class="control-label" for="QueueType">Queue Type</label>
- <div class="controls">
- <input type="text" id="QueueType" placeholder="Queue Type"
ng-model="applicationDescriptor.queueName" required>
+ <div class="form-group">
+ <label class="col-md-5 control-label" for="QueueType">Queue
Type</label>
+ <div class="col-md-7">
+ <input class="form-control" type="text" id="QueueType"
placeholder="Queue Type" ng-model="applicationDescriptor.queueName" required>
</div>
</div>
- <div class="control-group">
- <label class="control-label" for="MaxWallTime">Max Wall
Time</label>
- <div class="controls">
- <input type="number" id="MaxWallTime" placeholder="Max Wall
Time" ng-model="applicationDescriptor.maxWallTime">
+ <div class="form-group">
+ <label class="col-md-5 control-label" for="MaxWallTime">Max Wall
Time</label>
+ <div class="col-md-7">
+ <input class="form-control" type="number" id="MaxWallTime"
placeholder="Max Wall Time" ng-model="applicationDescriptor.maxWallTime">
</div>
</div>
- <div class="control-group">
- <label class="control-label" for="CPUCount">CPU Count</label>
- <div class="controls">
- <input type="number" id="CPUCount" placeholder="CPU Count"
ng-model="applicationDescriptor.cpuCount">
+ <div class="form-group">
+ <label class="col-md-5 control-label" for="CPUCount">CPU
Count</label>
+ <div class="col-md-7">
+ <input class="form-control" type="number" id="CPUCount"
placeholder="CPU Count" ng-model="applicationDescriptor.cpuCount">
</div>
</div>
- <div class="control-group">
- <label class="control-label" for="NodeCount">Node Count</label>
- <div class="controls">
- <input type="number" id="NodeCount" placeholder="Node Count"
ng-model="applicationDescriptor.nodeCount">
+ <div class="form-group">
+ <label class="col-md-5 control-label" for="NodeCount">Node
Count</label>
+ <div class="col-md-7">
+ <input class="form-control" type="number" id="NodeCount"
placeholder="Node Count" ng-model="applicationDescriptor.nodeCount">
</div>
</div>
- <div class="control-group">
- <label class="control-label" for="ProcessorsPerNode">Processors
Per Node</label>
- <div class="controls">
- <input type="number" id="ProcessorsPerNode"
placeholder="Processors Per Node"
ng-model="applicationDescriptor.processorsPerNode">
+ <div class="form-group">
+ <label class="col-md-5 control-label"
for="ProcessorsPerNode">Processors Per Node</label>
+ <div class="col-md-7">
+ <input class="form-control" type="number"
id="ProcessorsPerNode" placeholder="Processors Per Node"
ng-model="applicationDescriptor.processorsPerNode">
</div>
</div>
- <div class="control-group">
- <label class="control-label" for="MinMemory">Min Memory</label>
- <div class="controls">
- <input type="number" id="minMemory" placeholder="Min Memory"
ng-model="applicationDescriptor.minMemory">
+ <div class="form-group">
+ <label class="col-md-5 control-label" for="MinMemory">Min
Memory</label>
+ <div class="col-md-7">
+ <input class="form-control" type="number" id="minMemory"
placeholder="Min Memory" ng-model="applicationDescriptor.minMemory">
</div>
</div>
- <div class="control-group">
- <label class="control-label" for="MaxMemory">Max Memory</label>
- <div class="controls">
- <input type="number" id="MaxMemory" placeholder="Max Memory"
ng-model="applicationDescriptor.maxMemory">
+ <div class="form-group">
+ <label class="col-md-5 control-label" for="MaxMemory">Max
Memory</label>
+ <div class="col-md-7">
+ <input class="form-control" type="number" id="MaxMemory"
placeholder="Max Memory" ng-model="applicationDescriptor.maxMemory">
</div>
</div>
</div>
</div>
- <div class="row control-group">
- <div class="controls">
+ <div class="row">
+ <h5 >Environmental Variables</h5 >
+ <div><a href
ng-click="applicationDescriptor.environmentVariables.push({})"><i
class="icon-plus-sign"> Add Environment Variable</i></a></div>
+ <div class="form-group">
+ <table id="tblEnvironmentalVar" class="table table-striped
table-bordered table-hovered table-condensed">
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Value</th>
+ <th>Delete</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr ng-repeat="variables in
applicationDescriptor.environmentVariables">
+ <td class="col-md-5">
+ <input class="form-control" type="text" id="VarName"
name="VarName" placeholder="Variable Name" ng-model="variables.name" required>
+ </td>
+ <td class="col-md-6">
+ <input class="form-control" type="number" id="VarValue"
name="VarValue" placeholder="Variable Value" ng-model="variables.value"
required>
+ </td>
+ <td class="col-md-1">
+ <a href
ng-click="applicationDescriptor.environmentVariables.splice($index, 1)"><i
class="icon-remove-sign"></i></a>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ <div class="row form-group">
+ <div class="col-md-offset-4 col-md-8">
<a href ng-click="applicationDescriptor.hostDescName == ''||
addApplicationDeployment();" class="btn btn-primary">Update</a>
<a href ng-click="cancelApplicationDeployment();"
class="btn">Cancel</a>
</div>
Modified: airavata/sandbox/gsoc2013/app/views/builder.workflowMonitoring.html
URL:
http://svn.apache.org/viewvc/airavata/sandbox/gsoc2013/app/views/builder.workflowMonitoring.html?rev=1526780&r1=1526779&r2=1526780&view=diff
==============================================================================
--- airavata/sandbox/gsoc2013/app/views/builder.workflowMonitoring.html
(original)
+++ airavata/sandbox/gsoc2013/app/views/builder.workflowMonitoring.html Fri Sep
27 03:02:10 2013
@@ -34,7 +34,7 @@ under the License.
<label for="inputMessageBoxURL">MessageBoxURL</label>
<input class="form-control" style="width: 50%;" type="url"
id="inputMessageBoxURL" name="messageBoxURL" placeholder="MessageBoxURL"
ng-model="notification.messageBoxURL" required>
</div>
- <button type="submit" class="btn btn-default">Submit</button>
+ <button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default" href="#/exec">Cancel</a>
</form>
</div>
Modified: airavata/sandbox/gsoc2013/app/views/builder.workflowProperties.html
URL:
http://svn.apache.org/viewvc/airavata/sandbox/gsoc2013/app/views/builder.workflowProperties.html?rev=1526780&r1=1526779&r2=1526780&view=diff
==============================================================================
--- airavata/sandbox/gsoc2013/app/views/builder.workflowProperties.html
(original)
+++ airavata/sandbox/gsoc2013/app/views/builder.workflowProperties.html Fri Sep
27 03:02:10 2013
@@ -17,33 +17,49 @@ specific language governing permissions
under the License.
-->
<div ng-controller="WorkflowLaunch">
- <form role="form" name="workflowPropertiesForm" style="padding:10px;"
ng-submit="saveWorkflowProperties();">
+ <form class="form-horizontal" role="form" name="workflowPropertiesForm"
style="padding:10px;" ng-submit="saveWorkflowProperties();">
<legend>Workflow Properties</legend>
+
<div class="form-group">
- <label for="inputName">Name</label>
- <input style="width: 35%;" type="text" id="inputName" name="name"
placeholder="name" ng-model="workflowProperties.name" class="form-control"
required>
+ <label class="col-lg-2 control-label"for="inputName" >Name</label>
+ <div class="col-lg-10">
+ <input class="form-control" type="text" id="inputName" name="name"
placeholder="name" ng-model="workflowProperties.name" class="form-control"
required>
+ </div>
</div>
+
<div class="form-group">
- <label for="inputTemplateId">Template Id</label>
- <input style="width: 35%;" type="url" id="inputTemplateId"
name="templateId" placeholder="Template Id"
ng-model="workflowProperties.templateId" class="form-control" disabled>
+ <label class="col-lg-2 control-label" for="inputTemplateId">Template
Id</label>
+ <div class="col-lg-10">
+ <input class="form-control" type="url" id="inputTemplateId"
name="templateId" placeholder="Template Id"
ng-model="workflowProperties.templateId" class="form-control" disabled>
+ </div>
</div>
+
<div class="form-group">
- <label for="inputInstanceId">Instance Id</label>
- <input style="width: 35%;" type="url" id="inputInstanceId"
name="instanceId" placeholder="Instance Id"
ng-model="workflowProperties.instanceId" class="form-control" disabled>
+ <label class="col-lg-2 control-label" for="inputInstanceId">Instance
Id</label>
+ <div class="col-lg-10">
+ <input class="form-control" type="url" id="inputInstanceId"
name="instanceId" placeholder="Instance Id"
ng-model="workflowProperties.instanceId" class="form-control" disabled>
+ </div>
</div>
+
<div class="form-group">
- <label for="inputDescription">Description</label>
- <textarea style="width: 35%;" class="form-control" id="inputDescription"
name="description" placeholder="Description"
ng-model="workflowProperties.description"></textarea>
+ <label class="col-lg-2 control-label"
for="inputDescription">Description</label>
+ <div class="col-lg-10">
+ <textarea class="form-control" class="form-control"
id="inputDescription" name="description" placeholder="Description"
ng-model="workflowProperties.description"></textarea>
+ </div>
</div>
+
<div class="form-group">
- <label for="inputMetadata">Metadata</label>
- <textarea rows="5" style="width: 35%;" class="form-control"
id="inputMetadata" name="metadata" placeholder="Metadata"
ng-model="workflowProperties.metadata"></textarea>disabled>
+ <label class="col-lg-2 control-label"
for="inputMetadata">Metadata</label>
+ <div class="col-lg-10">
+ <textarea class="form-control" rows="5" class="form-control"
id="inputMetadata" name="metadata" placeholder="Metadata"
ng-model="workflowProperties.metadata"></textarea>
+ </div>
</div>
+
<div class="form-group">
- <label for="inputInstanceId">Instance Id</label>
- <input style="width: 35%;" type="url" class="form-control"
id="inputInstanceId" name="instanceId" placeholder="Instance Id"
ng-model="workflowProperties.instanceId" disabled>
+ <div class="col-lg-offset-2 col-lg-10">
+ <button type="submit" class="btn btn-primary">Submit</button>
+ <a class="btn btn-default" href="#/exec">Cancel</a>
+ </div>
</div>
- <button type="submit" class="btn btn-default">Submit</button>
- <a class="btn btn-default" href="#/exec">Cancel</a>
</form>
</div>
Modified: airavata/sandbox/gsoc2013/app/views/index.sidenavbar.html
URL:
http://svn.apache.org/viewvc/airavata/sandbox/gsoc2013/app/views/index.sidenavbar.html?rev=1526780&r1=1526779&r2=1526780&view=diff
==============================================================================
--- airavata/sandbox/gsoc2013/app/views/index.sidenavbar.html (original)
+++ airavata/sandbox/gsoc2013/app/views/index.sidenavbar.html Fri Sep 27
03:02:10 2013
@@ -42,7 +42,7 @@
</div>
<div class="form-group" ng-show="newUserFlag">
<label for="confirmPassword">Confirm Password</label>
- <input type="confirmPassword" class="form-control" id="password"
placeholder="Password" ng-model="confirmPassword" required>
+ <input type="confirmPassword" class="form-control" id="confirmPassword"
placeholder="Password" ng-model="confirmPassword" required>
</div>
<button type="submit" class="btn btn-default">Connect</button>
</form>
Added: airavata/sandbox/gsoc2013/test/spec/controllers/WebUITest.js
URL:
http://svn.apache.org/viewvc/airavata/sandbox/gsoc2013/test/spec/controllers/WebUITest.js?rev=1526780&view=auto
==============================================================================
--- airavata/sandbox/gsoc2013/test/spec/controllers/WebUITest.js (added)
+++ airavata/sandbox/gsoc2013/test/spec/controllers/WebUITest.js Fri Sep 27
03:02:10 2013
@@ -0,0 +1,98 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+'use strict';
+
+
+describe('WebUI', function() {
+ beforeEach(module('WebUI'));
+
+ describe('Controller: HostDescriptor', function(){
+ it('should be defined',
+ inject(function ($controller, $rootScope) {
+ var scope = $rootScope.$new(), MessageQueue = {};
+ var HostDescriptor = $controller('HostDescriptor', { $scope:
scope,MessageQueue : MessageQueue});
+ expect(HostDescriptor).toBeDefined();
+ }));
+ });
+
+ describe('Controller: ApplicationDescriptor', function(){
+ it('should be defined',
+ inject(function ($controller, $rootScope) {
+ var scope = $rootScope.$new(), MessageQueue = {};
+ var ApplicationDescriptor = $controller('ApplicationDescriptor', {
$scope: scope,MessageQueue : MessageQueue});
+ expect(ApplicationDescriptor).toBeDefined();
+ }));
+ });
+
+ describe('Controller: FileTransfer', function(){
+ it('should be defined',
+ inject(function ($controller, $rootScope) {
+ var scope = $rootScope.$new(), MessageQueue = {};
+ var FileTransfer = $controller('FileTransfer', { $scope:
scope,MessageQueue : MessageQueue});
+ expect(FileTransfer).toBeDefined();
+ }));
+ });
+
+ describe('Controller: WorkflowLaunch', function(){
+ it('should be defined',
+ inject(function ($controller, $rootScope) {
+ var scope = $rootScope.$new(), MessageQueue = {};
+ var WorkflowLaunch = $controller('WorkflowLaunch', { $scope:
scope,MessageQueue : MessageQueue});
+ expect(WorkflowLaunch).toBeDefined();
+ }));
+ });
+
+ describe('Controller: WorkflowMonitoring', function(){
+ it('should be defined',
+ inject(function ($controller, $rootScope) {
+ var scope = $rootScope.$new(), MessageQueue = {};
+ var WorkflowMonitoring = $controller('WorkflowMonitoring', { $scope:
scope,MessageQueue : MessageQueue});
+ expect(WorkflowMonitoring).toBeDefined();
+ }));
+ });
+
+ describe('Controller: WorkflowCreator', function(){
+ it('should be defined',
+ inject(function ($controller, $rootScope) {
+ var scope = $rootScope.$new(), MessageQueue = {};
+ var WorkflowCreator = $controller('WorkflowCreator', { $scope:
scope,MessageQueue : MessageQueue});
+ expect(WorkflowCreator).toBeDefined();
+ }));
+ });
+
+ describe('Controller: Alert', function(){
+ it('should be defined',
+ inject(function ($controller, $rootScope) {
+ var scope = $rootScope.$new(), MessageQueue = {};
+ var Alert = $controller('Alert', { $scope: scope,MessageQueue :
MessageQueue});
+ expect(Alert).toBeDefined();
+ }));
+ });
+
+ describe('Controller: RegistryConnection', function(){
+ it('should be defined',
+ inject(function ($controller, $rootScope) {
+ var scope = $rootScope.$new(), MessageQueue = {};
+ var RegistryConnection = $controller('RegistryConnection', { $scope:
scope,MessageQueue : MessageQueue});
+ expect(RegistryConnection).toBeDefined();
+ }));
+ });
+
+});
\ No newline at end of file