Fixed bugs
diff --git a/views/ngXosViews/ceilometerDashboard/env/srikanth.js b/views/ngXosViews/ceilometerDashboard/env/srikanth.js
index 8d76a20..e79ab1d 100644
--- a/views/ngXosViews/ceilometerDashboard/env/srikanth.js
+++ b/views/ngXosViews/ceilometerDashboard/env/srikanth.js
@@ -7,7 +7,7 @@
// (works only for local environment as both application are served on the same domain)
module.exports = {
- host: 'http://130.127.133.87:9999',
- xoscsrftoken: 'Ed51juEvODfN01dtXO7iqRkXDdBIL0sr',
- xossessionid: 'b3vg7a2qtm7roclcwlqkf7f5xca645jx'
+ host: 'http://130.127.133.41:9999',
+ xoscsrftoken: 'yxEhnmrR0GrRaAbTz3tiCEh1DzFDQ98v',
+ xossessionid: 'hgf01hgpsrw7g4mveuajuo6p7hezm1c5'
};
diff --git a/views/ngXosViews/ceilometerDashboard/karma.conf.js b/views/ngXosViews/ceilometerDashboard/karma.conf.js
index 12d0697..1978cbd 100644
--- a/views/ngXosViews/ceilometerDashboard/karma.conf.js
+++ b/views/ngXosViews/ceilometerDashboard/karma.conf.js
@@ -26,8 +26,8 @@
// list of files / patterns to load in the browser
files: bowerComponents.concat([
'src/css/**/*.css',
- '../../static/js/xosApi.js',
- '../../static/js/vendor/ngXosHelpers.js',
+ '../../../xos/core/xoslib/static/js/xosApi.js',
+ '../../../xos/core/xoslib/static/js/vendor/ngXosHelpers.js',
'src/js/**/*.js',
'spec/**/*.mock.js',
'spec/**/*.test.js',
diff --git a/views/ngXosViews/ceilometerDashboard/package.json b/views/ngXosViews/ceilometerDashboard/package.json
index 0a9ccae..b609796 100644
--- a/views/ngXosViews/ceilometerDashboard/package.json
+++ b/views/ngXosViews/ceilometerDashboard/package.json
@@ -7,7 +7,6 @@
"start": "gulp serve",
"prebuild": "npm install && bower install",
"build": "gulp",
- "pretest": "npm install",
"test": "karma start",
"lint": "eslint src/js/"
},
diff --git a/views/ngXosViews/ceilometerDashboard/src/js/main.js b/views/ngXosViews/ceilometerDashboard/src/js/main.js
index a20d563..c35d874 100644
--- a/views/ngXosViews/ceilometerDashboard/src/js/main.js
+++ b/views/ngXosViews/ceilometerDashboard/src/js/main.js
@@ -188,10 +188,7 @@
.directive('ceilometerSamples', function(lodash, $stateParams){
return {
restrict: 'E',
- scope: {
- name: '=name',
- tenant: '=tenant'
- },
+ scope: {},
bindToController: true,
controllerAs: 'vm',
templateUrl: 'templates/ceilometer-samples.tpl.html',