Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
1ca9506
Added radio buttons to select isSudo true/false for script task.
divakarkonakalla Aug 22, 2016
df8b1e9
Added isSudo to check the user preference for sudo.
divakarkonakalla Aug 22, 2016
14f806b
Provider Remove Issue
Durgesh1988 Aug 22, 2016
a2c97f1
Merge remote-tracking branch 'upstream/dev' into dev
Durgesh1988 Aug 23, 2016
eba6a73
Resolved JIRA QA Bugs
srikanthv02 Aug 23, 2016
4faaa67
CAT-2263 and CAT-2264 Fixed
Durgesh1988 Aug 24, 2016
f387476
CAT-2264 Fixed
Durgesh1988 Aug 25, 2016
7ef5ce5
CAT-2264 Fixed
Durgesh1988 Aug 25, 2016
77c0562
CAT-2263 Fixed
Durgesh1988 Aug 25, 2016
23b4e7a
CAT-2238 Fixed
Durgesh1988 Aug 25, 2016
f9719eb
CAT-2249 Fixed
Durgesh1988 Aug 25, 2016
3a2f2de
CAT-2249 Fixed
Durgesh1988 Aug 25, 2016
f0a260d
Merge pull request #670 from Durgesh1988/dev
liteverge-bot Aug 25, 2016
8d4f4c8
QA Bugs resolved
srikanthv02 Aug 26, 2016
111c1ca
Merge remote-tracking branch 'upstream/dev' into devSrikanth
srikanthv02 Aug 26, 2016
a44a4bd
Merge pull request #674 from srikanthv02/devSrikanth
Aug 26, 2016
d019ef7
CAT-2273 Fixed
Durgesh1988 Aug 26, 2016
e962d9a
CAT-2268,2269 and 2271
Durgesh1988 Aug 26, 2016
99e5293
CAT-2273 Fixed
Durgesh1988 Aug 26, 2016
b0fa586
CAT-2274 Fixed
Durgesh1988 Aug 28, 2016
2e5996b
Merge pull request #676 from Durgesh1988/dev
liteverge-bot Aug 29, 2016
860771c
Resolved QA Bugs, Added Composite template type as part of seed data
srikanthv02 Aug 29, 2016
e7c8c2b
Added composite template type for new org
srikanthv02 Aug 29, 2016
b981c1b
Merge pull request #677 from srikanthv02/devSrikanth
Aug 30, 2016
a06fc28
CAT-2277,2266.2281 and 2282 Fixed
Durgesh1988 Aug 30, 2016
131f02b
Merge remote-tracking branch 'upstream/dev' into dev
Durgesh1988 Aug 30, 2016
6e94631
CAT-2276 Fixed
Durgesh1988 Aug 30, 2016
40ddd2b
Removed Composite template type for other providers except aws
srikanthv02 Aug 30, 2016
d02d56b
Added org for azure,openstack and vmware existing blueprints
srikanthv02 Aug 30, 2016
847388d
CAT-2281 Fixed
Durgesh1988 Aug 30, 2016
1f7a507
CAT-2289 Fixed
Durgesh1988 Aug 30, 2016
159ffa3
Merge pull request #680 from srikanthv02/devSrikanth
Aug 31, 2016
d5069bd
CAT-2281 FIxed
Durgesh1988 Aug 31, 2016
6c60224
Resolved merge conflicts
Durgesh1988 Aug 31, 2016
8b25980
Merge pull request #686 from Durgesh1988/dev
liteverge-bot Aug 31, 2016
41f8e90
Changed the Help path from workzone
srikanthv02 Aug 31, 2016
e8272b9
Merge remote-tracking branch 'upstream/dev' into devSrikanth
srikanthv02 Aug 31, 2016
994e164
Merge pull request #687 from srikanthv02/devSrikanth
Aug 31, 2016
b62e7d0
Review comments has been taken care for #663.
divakarkonakalla Sep 1, 2016
05f8b36
Merge pull request #663 from divakarkonakalla/divakarDev
Sep 1, 2016
faa8adb
Server side changes for tracked instances
srikanthv02 Sep 1, 2016
c65b720
Merge remote-tracking branch 'upstream/dev' into devSrikanth
srikanthv02 Sep 1, 2016
6ce439d
Merge pull request #694 from srikanthv02/devSrikanth
liteverge-bot Sep 1, 2016
8386f8a
CAT-2278,2303 and 1601 Fixed
Durgesh1988 Sep 2, 2016
1d9f45e
Resolved merge conflicts
Durgesh1988 Sep 2, 2016
25f00ab
CAT-2303 Fixed
Durgesh1988 Sep 2, 2016
da499c4
Merge pull request #697 from Durgesh1988/dev
liteverge-bot Sep 2, 2016
40749c7
CAT-2303 Fixed
Durgesh1988 Sep 7, 2016
9dff752
CAT-2315 Fixed
Durgesh1988 Sep 7, 2016
0e0eb85
Merge pull request #701 from Durgesh1988/dev
liteverge-bot Sep 7, 2016
9a24184
Capacity dashboard in track
srikanthv02 Sep 7, 2016
dd01e4f
Merge remote-tracking branch 'upstream/dev' into devSrikanth
srikanthv02 Sep 7, 2016
e52e40a
CAT-2316 and CAT-2303 Implementation
Durgesh1988 Sep 7, 2016
f9ce959
CAT-2303 and CAT-2515 Fixed
Durgesh1988 Sep 8, 2016
619c1d3
CAT-2322 and CAT-2320 Fixed
Durgesh1988 Sep 8, 2016
fec808d
Merge remote-tracking branch 'upstream/dev' into dev
Durgesh1988 Sep 8, 2016
504c002
Capacity Dashboard implemented in Track
srikanthv02 Sep 8, 2016
5472af0
Add column for unassigned search
Durgesh1988 Sep 8, 2016
48c02c8
Resolved pr comments
srikanthv02 Sep 8, 2016
ee09f14
added selector for table
srikanthv02 Sep 8, 2016
893bdc9
Merge pull request #704 from srikanthv02/devSrikanth
Sep 8, 2016
945098e
Update cron job interval for Docker Sync
Durgesh1988 Sep 8, 2016
ba2df55
Resolved merge conflicts
Durgesh1988 Sep 8, 2016
c12110d
CAT-2303 Implementation
Durgesh1988 Sep 8, 2016
15829fc
Merge pull request #703 from Durgesh1988/dev
liteverge-bot Sep 10, 2016
190ecd9
Add Planned Cost at Org Lavel and Provider Lavel
Durgesh1988 Sep 12, 2016
dbbeebd
Add Tag Mapping for Business Group
Durgesh1988 Sep 12, 2016
2f3535b
merge with workzone enhancements and reports from stage
Sep 13, 2016
0bab648
Merge pull request #708 from kkn/dev
liteverge-bot Sep 13, 2016
ebcd001
analytics API document updated
Sep 13, 2016
39c2333
Merge pull request #709 from kkn/dev
liteverge-bot Sep 13, 2016
40679ff
Add BU Level Tag Mapping in Provider Sync
Durgesh1988 Sep 13, 2016
d5c9301
Resolved merge conflicts
Durgesh1988 Sep 13, 2016
6b3ebe9
Add BU Level Tag Mapping in Provider Sync
Durgesh1988 Sep 13, 2016
2a59c3f
Add BU Level Tag Mapping in Provider Sync
Durgesh1988 Sep 13, 2016
4bba1a9
Add BU Level Tag Mapping in Provider Sync
Durgesh1988 Sep 13, 2016
696e1f0
Merge pull request #710 from Durgesh1988/dev
liteverge-bot Sep 13, 2016
2fb643d
CAT-2327 Implementation
Durgesh1988 Sep 14, 2016
16ffc26
Merge pull request #711 from Durgesh1988/dev
liteverge-bot Sep 14, 2016
538b9cb
CAT-2330 Fixed
Durgesh1988 Sep 14, 2016
661d0e1
Merge pull request #712 from Durgesh1988/dev
liteverge-bot Sep 14, 2016
bd45989
CAT-2329 and CAT-2332 Fixed
Durgesh1988 Sep 14, 2016
259c4c3
CAT-2333 Fixed
Durgesh1988 Sep 14, 2016
04723f2
CAT-2333 Fixed
Durgesh1988 Sep 14, 2016
6ce7aac
Merge pull request #714 from Durgesh1988/dev
liteverge-bot Sep 14, 2016
9dc3750
CAT-2333 Fixed
Durgesh1988 Sep 15, 2016
c417743
CAT-2333/CAT-2335/CAT-2334 Fixed
Durgesh1988 Sep 15, 2016
28482a1
CAT-2333/CAT-2335/CAT-2334 Fixed
Durgesh1988 Sep 15, 2016
e96dd2b
Merge pull request #719 from Durgesh1988/dev
liteverge-bot Sep 15, 2016
9cd53df
Resolved QA bugs for AWS Capacity
srikanthv02 Sep 16, 2016
3906c8c
CAT-2338/CAT-2339/CAT-2340 Fixed
Durgesh1988 Sep 16, 2016
e65d0fa
Highlighting the selected box for capacity dashboard
srikanthv02 Sep 16, 2016
2cdb313
Clearing the selected box
srikanthv02 Sep 16, 2016
3a14587
CAT-2338/CAT-2339/CAT-2340 Fixed
Durgesh1988 Sep 16, 2016
4e08308
Merge pull request #723 from Durgesh1988/dev
liteverge-bot Sep 16, 2016
a3b3fe5
Merge pull request #722 from srikanthv02/devSrikanth
udeshrl Sep 16, 2016
232f0f2
Added tooltip for cost and usage in aws reports
srikanthv02 Sep 16, 2016
5a3e9e9
Merge remote-tracking branch 'upstream/dev' into devSrikanth
srikanthv02 Sep 16, 2016
dc743b4
Merge pull request #725 from srikanthv02/devSrikanth
udeshrl Sep 16, 2016
27df025
CAT-2335/CAT-2336 Fixed
Durgesh1988 Sep 16, 2016
34b1f8d
Merge remote-tracking branch 'upstream/dev' into dev
Durgesh1988 Sep 16, 2016
5ce011a
Merge pull request #727 from Durgesh1988/dev
liteverge-bot Sep 16, 2016
a79dec5
Y label added for CPU utilization and alert removed
srikanthv02 Sep 16, 2016
f2cc8a7
Merge remote-tracking branch 'upstream/dev' into devSrikanth
srikanthv02 Sep 16, 2016
62145a4
Merge pull request #728 from srikanthv02/devSrikanth
udeshrl Sep 16, 2016
890fc7a
CPU utilization usage metric symbol updated
Sep 16, 2016
c27256b
Merge pull request #729 from kkn/dev
liteverge-bot Sep 16, 2016
bf400eb
CAT-2332/CAT-2341 fixed
Durgesh1988 Sep 16, 2016
2fadd6f
CAT-2332/CAT-2341 fixed
Durgesh1988 Sep 16, 2016
e5fad23
Merge pull request #730 from Durgesh1988/dev
RLIndia Sep 16, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion client/cat3/src/factory/workzoneServices.js
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,8 @@
return $http.post(fullUrl(url),compositeBlueprint,Auth.getHeaderObject());
},
getAllCompsiteBlueprint:function () {
var url ='/composite-blueprints';
var p = workzoneEnvironment.getEnvParams();
var url ='/composite-blueprints?filterBy=organizationId:'+p.org+'+businessGroupId:'+p.bg+'+projectId:'+p.proj;
return $http.get(fullUrl(url),Auth.getHeaderObject());
},
getCompsiteBlueprintInfo:function (compositeBlueprintId) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</a>
</div>
<div id="help" class="headNavigItem">
<a href="http://help.relevancelab.com/dokuwiki" target="_blank">
<a href="https://catalyst.readthedocs.org" target="_blank">
<i class="fa fa-question white"></i> HELP
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion client/cat3/src/partials/sections/card/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ $imagePath : "/cat3/images";
font-size: 18px;
}

.instance-state-unknown, .instance-state-pending {
.instance-state-unknown, .instance-state-pending, .instance-state-shutting-down{
background: url("#{$imagePath}/instance-states/aws-inactive.png");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="alert alert-info text-center" ng-show="blueprints.length===0">
No Blueprints Available
</div>
<div class="container" ng-init="getAllCompsiteBlueprint();">
<div class="container">
<accordion>
<div ng-if="blueprints.software_stack.length>0">
<accordion-group ng-init="accGroupStatus = {opened: isFirstOpen}" is-open="accGroupStatus.opened">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
$scope.requestParams=requestParams;
$scope.isBlueprintPageLoading = true;
$scope.blueprintListCards();
$scope.getAllCompsiteBlueprint();
});

angular.extend($scope, {
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,18 @@ $imagePath : "../../../../../../images";
margin: 3px 0 0 0;
}
}

.paddingtop8 {
padding-top: 8px;
}

.paddingleft0 {
padding-left: 0px;
}

.paddingright15 {
padding-right: 15px;
}
}

#viewNodesPage {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,30 @@ <h5>Job Details</h5>
<!--for script adding the scriptType dropdown -->
<!--commented will be used in future-->
<div class="col-md-12 col-sm-12 col-xs-12 margintop15" ng-if="taskType==='script'">
<label class="control-label">Script Type
<span class="control-label red">&nbsp;*</span>
<span ng-show="newTaskForm.scriptType.$touched && newTaskForm.scriptType.$invalid" class="inputValidationMsg">required
<div class="col-md-6 col-sm-6 col-xs-6 margintop15 no-padding">
<label class="control-label">Script Type
<span class="control-label red">&nbsp;*</span>
<span ng-show="newTaskForm.scriptType.$touched && newTaskForm.scriptType.$invalid" class="inputValidationMsg">required
</span>
</label>
<br />
<span class="col-md-12 col-sm-12 col-xs-12 paddingleft0">
<select class="form-control" name="scriptType" ng-model="$parent.scriptTypeSelelct" ng-change="changeNodeScriptList();" required>
<option value="">Select</option>
<option value="Bash">Bash</option>
</select>
</span>
</label>
<br />
<span class="col-md-12 col-sm-12 col-xs-12 no-padding">
<select class="form-control" name="scriptType" ng-model="$parent.scriptTypeSelelct" ng-change="changeNodeScriptList();" required>
<option value="">Select</option>
<option value="Bash">Bash</option>
</select>
</span>
</div>
<div class="col-md-6 col-sm-6 col-xs-6 margintop15">
<label class="control-label">Run as Sudo:</label>
<br />
<div class="paddingtop8">
<input type="radio" ng-value="true" ng-model="$parent.isSudo" name="scriptIsSudo" />
<label for="scriptIsSudo" class="paddingright15">Yes</label>
<input type="radio" ng-value="false" ng-model="$parent.isSudo" name="scriptIsSudo" />
<label for="scriptIsSudo">No</label>
</div>
</div>
</div>
<!--scriptType ending here -->
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 margintop15">
Expand Down Expand Up @@ -154,7 +166,7 @@ <h5>Chef Server Details for - RLChefServer</h5>
</ul>
<ul ng-show="targetType==='blueprint'">
<li ng-repeat="blueprint in chefBluePrintList">
<label class="checkbox check-list">
<label class="checkbox check-list" ng-if="blueprint.blueprintType === 'instance_launch'">
<input name="blueprint" ng-value="blueprint._id" type="radio" ng-model="blueprint._isBlueprintSelected" class="radiobutton-list blueprint-{{blueprint._isBlueprintSelected}}">{{blueprint.name}}
</label>
</li>
Expand Down Expand Up @@ -442,7 +454,9 @@ <h5>Script Details</h5>
<tbody>
<tr ng-repeat="param in scriptParamsObj[selectedScript._id] track by $index">
<td>{{param}}</td>
<td><button type="button" ng-click="removeScriptParams(selectedScript._id,param);"><i class=" fa fa-trash-o"></i></button></td>
<td>
<button title="Delete" type="button" ng-click="removeScriptParams(selectedScript._id,param);"><i class=" fa fa-trash-o"></i></button>
</td>
</tr>
</tbody>
</table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
$scope.scriptParamShow = false;
$scope.scriptSelectAll = false;
$scope.scriptParamsObj = {};
$scope.isSudo = false;
$scope.toggleAll = function() {
var toggleStatus = $scope.isAllSelected;
angular.forEach($scope.chefInstanceList, function(itm){ itm._isNodeSelected = toggleStatus;});
Expand Down Expand Up @@ -355,6 +356,7 @@
if ($scope.taskType === "script") {
taskJSON.nodeIds = [];
taskJSON.scriptDetails = [];
taskJSON.isSudo = $scope.isSudo;
for (var si = 0; si < $scope.chefInstanceList.length; si++) {
if ($scope.chefInstanceList[si]._isNodeSelected) {
taskJSON.nodeIds.push($scope.chefInstanceList[si]._id);
Expand Down Expand Up @@ -519,11 +521,13 @@
/*Identifying the nodes and script list and checking for task type to be script*/
if ($scope.taskType === "script") {
if($scope.isEditMode){
$scope.isSudo=items.taskConfig.isSudo;
$scope.chefInstanceList = responseFormatter.identifyAvailableChefNode(responseFormatter.getChefList(instances), items.taskConfig.nodeIds);
$scope.isScriptInstanceLoading = false;
$scope.isNewTaskPageLoading = false;
$scope.targetType="instance";
}else{
$scope.isSudo = false;
$scope.chefInstanceList = responseFormatter.identifyAvailableChefNode(responseFormatter.getChefList(instances), []);
$scope.isScriptInstanceLoading = false;
$scope.isNewTaskPageLoading = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
{ name:'Job Number',field:'buildNumber',cellTemplate:'<a target="_blank" title="Jenkins" ng-href="{{grid.appScope.task.taskConfig.jobURL}}/{{row.entity.buildNumber}}">{{row.entity.buildNumber}}</a>', sort:{ direction: 'desc'}, cellTooltip: true},
{ name:'Job Output',cellTemplate:'<span><a target="_blank" title="{{jobResultUrlName}}" class="fa fa-file-text bigger-120 btn cat-btn-update btn-sg tableactionbutton marginbottomright3" ng-repeat="jobResultUrlName in row.entity.jobResultURL" ng-href="{{jobResultUrlName}}"></a></span>',cellTooltip: true},
{ name:'Log Info',width: 90,cellTemplate:'<span title="Jenkins Log" class="fa fa-list bigger-120 btn cat-btn-update btn-sg tableactionbutton" ng-click="grid.appScope.historyLogs(row.entity);"></span>',cellTooltip: true},
{ name:'Status',field:'status',cellTemplate:'<div class="{{row.entity.status}}">{{row.entity.status}}</div>'},
{ name:'Status',field:'status',cellTemplate:'<div class="{{row.entity.status.toUpperCase()}}">{{row.entity.status.toUpperCase()}}</div>'},
{ name:'Start Time',field:'timestampStarted',cellTemplate:'<span title="{{row.entity.timestampStarted | timestampToLocaleTime}}">{{row.entity.timestampStarted | timestampToLocaleTime}}</span>',cellTooltip: true},
{ name:'End Time',field:'timestampEnded',cellTemplate:'<span title="{{row.entity.timestampEnded | timestampToLocaleTime}}">{{row.entity.timestampEnded | timestampToLocaleTime}}</span>',cellTooltip: true}
];
Expand Down
27 changes: 17 additions & 10 deletions client/htmls/private/ajax/DesignBlueprint.html
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ <h4 class="panel-title">
<form action="">
<div class="col-lg-12 awsExisting">
<div class="col-lg-4 col-md-4">
<label for="">Choose Organization <span style="color:red">*</span></label>
<label for="">Organization <!--<span style="color:red">*</span>--></label>
<select id="orgnameSelectExisting" class="chooseOrgSelectExisting width-100">
</select>
</div>
Expand Down Expand Up @@ -830,7 +830,6 @@ <h4 class="modal-title" id="DockerLaunch">Launch Parameters-Docker Blueprints</h
var $bgList = $('#bgListInputExisting');
var $projectList = $('#projectListInputExisting');
var $envList = $('#envListExisting');
var $projectList = $('#projectListInputExisting');
$bgList.change(function(e) {
var bgName = $(this).val();
if (bgName == 'choose') {
Expand Down Expand Up @@ -868,7 +867,6 @@ <h4 class="modal-title" id="DockerLaunch">Launch Parameters-Docker Blueprints</h
}); //choose env gets over
var bgProjects = {};
for (var i = 0; i < data.length; i++) {
console.log(data[i].businessGroups);
$orgListInput.append($('<option></option>').val(data[i].rowid).html(data[i].name).data('bglist', data[i].businessGroups).data('envList', data[i].environments));
for (var j = 0; j < data[i].businessGroups.length; j++) {
var rowid = data[i].businessGroups[j].rowid;
Expand All @@ -879,6 +877,7 @@ <h4 class="modal-title" id="DockerLaunch">Launch Parameters-Docker Blueprints</h
$envList.append($('<option></option').val(data[i].environments[k].rowid).html(data[i].environments[k].name))
}
}
$orgListInput.trigger('change');
$bgList.trigger('change');
$('.chooseOrgSelectExisting').change(function(e) {
if ($(this).val() == 'choose') {
Expand Down Expand Up @@ -1726,7 +1725,7 @@ <h4 class="modal-title" id="DockerLaunch">Launch Parameters-Docker Blueprints</h
$('#orgIDCheck').val(selectCheck);
for (var i = 0; i < rowLength; i += 1) {
$("#templateContent").empty();
if (providerselected && providerselected == 'openstack' && data[i]['templatetype'] && data[i]['templatetype'] == 'cft' || data[i]['templatetype'] == 'arm')
if (providerselected && providerselected == 'openstack' && data[i]['templatetype'] && data[i]['templatetype'] == 'cft' || data[i]['templatetype'] == 'arm' || data[i]['templatetype'] == 'composite')
continue;
getDesignTypeImg = data[i]['templatetype'];
if (selectCheck == data[i].orgname_rowid) {
Expand Down Expand Up @@ -2614,6 +2613,10 @@ <h4 class="modal-title" id="DockerLaunch">Launch Parameters-Docker Blueprints</h
//for getting the blueprint name
$blueprintReadContainerCFT.find('.modal-body #blueprintNameCFT').val(data.name);
$blueprintReadContainerCFT.find('.modal-body #blueprintTemplateTypeCFT').val(data.templateType);
if (!data.version) {
data.version = "1";
}
$blueprintReadContainerCFT.find('.modal-body #instanceVersion').val(data.version);
$.ajax({
type: "get",
dataType: "json",
Expand Down Expand Up @@ -3056,15 +3059,15 @@ <h4 class="modal-title" id="DockerLaunch">Launch Parameters-Docker Blueprints</h

if (data[i].dockerlaunchparameters)
$itemBody.attr('dockerlaunchparameters', 't ' + data[i].dockerlaunchparameters);
var $liDockerRepoName = $('<li title="Docker Repo Name" ><i class="fa fa-check-square" style="padding-right:5px"/>' + data[i].dockerreponame + '</li>');
/* var $liDockerRepoName = $('<li title="Docker Repo Name" ><i class="fa fa-check-square" style="padding-right:5px"/>' + data[i].dockerreponame + '</li>');
$ul.append($liDockerRepoName);
if (data[i].dockerrepotags && data[i].dockerrepotags != '') {
$selectVer.empty();
var dockerrepostags = data[i].dockerrepotags.split(',');
$.each(dockerrepostags, function(k) {
$selectVer.append('<option value="' + dockerrepostags[k] + '">' + dockerrepostags[k] + '</option>');
});
}
}*/
$selectVer.hide();
$selectVerEdit.hide();
//for software stack and os image
Expand All @@ -3077,9 +3080,9 @@ <h4 class="modal-title" id="DockerLaunch">Launch Parameters-Docker Blueprints</h
$blueprintReadContainer.find('.modal-body #blueprintBU').val(bgName);
$blueprintReadContainer.find('.modal-body #blueprintProject').val(projName);
var $blueprintReadContainerCFT = $(id);
$blueprintReadContainerCFT.find('.modal-body #blueprintORG').val(orgName);
$blueprintReadContainerCFT.find('.modal-body #blueprintBU').val(bgName);
$blueprintReadContainerCFT.find('.modal-body #blueprintProject').val(projName);
$blueprintReadContainerCFT.find('.modal-body #blueprintORGCFT').val(orgName);
$blueprintReadContainerCFT.find('.modal-body #blueprintBUCFT').val(bgName);
$blueprintReadContainerCFT.find('.modal-body #blueprintProjectCFT').val(projName);
}
(function(blueprint) {
$liRead.click(function(e) {
Expand All @@ -3089,6 +3092,10 @@ <h4 class="modal-title" id="DockerLaunch">Launch Parameters-Docker Blueprints</h
//for getting the blueprint name
$blueprintReadContainerCFT.find('.modal-body #blueprintNameCFT').val(blueprint.name);
$blueprintReadContainerCFT.find('.modal-body #blueprintTemplateTypeCFT').val(blueprint.templateType);
if (!blueprint.version) {
blueprint.version = "1";
}
$blueprintReadContainerCFT.find('.modal-body #instanceVersion').val(blueprint.version);
getOrgProjDetails($blueprintReadContainerCFT);
});
})(data[i]);
Expand Down Expand Up @@ -3120,7 +3127,7 @@ <h4 class="modal-title" id="DockerLaunch">Launch Parameters-Docker Blueprints</h
//for getting the Provider name,Type,Region,KeyPair
$.ajax({
type: "GET",
url: "/aws/providers/" + blueprint.blueprintConfig.cloudProviderId,
url: "/openstack/providers/" + blueprint.blueprintConfig.cloudProviderId,
success: function(data) {
$blueprintReadContainer.find('.modal-body #instanceProviderName').val(data.providerName);
$blueprintReadContainer.find('.modal-body #instanceProviderType').val(data.providerType);
Expand Down
Loading