Skip to content

Conversation

@srikanthv02
Copy link
Contributor

@udeshrl : Please merge.

@srikanthv02 srikanthv02 changed the title Chnages for Chef Server Changes for Chef Server Nov 28, 2016
var url = '/blueprints/' + blueprintID + '/launch?version=' + version +
'&envId=' + envId + '&stackName=' + stackName + '&domainName=' + domainName + '&tagServer=' + tagServer;
'&envId=' + envId + '&stackName=' + stackName + '&domainName=' + domainName + '&tagServer=' + tagServer + '$monitorId=' + monitorId;
return $http.get(fullUrl(url), Auth.getHeaderObject());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it shoule be + '&monitorId=' + monitorId

$scope.getMonitorList = function(orgId) {
for(var i=0;i<response.data.length;i++){
if(orgId === response.data[i].organization.id) {
$scope.monitorList.push(response.data[i]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use filterby to get organization specific monitors instead of doing it at frontend

reqBody.projectName = $projectList.find('option:selected').text();
reqBody.environmentName = $envList.find('option:selected').text();
reqBody.monitorId = $('select#monitorId').find('option:selected').val();
//End By Durgesh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$('select#monitorId').val() is enough

@udeshrl udeshrl merged commit 1e3a282 into RLOpenCatalyst:topic-telemetry Dec 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants