monasca-grafana-datasource/module.js
Ryan Bak bc56847bc9 Add annotation support for monasca plugin
Includes cleanup of datasource.js
Also removes directives.js as it is no longer used

Change-Id: I032c937a1360f9fe75e6ad0a762ceee46256f8c6
2016-10-19 10:57:44 -06:00

25 lines
697 B
JavaScript

define([
'./datasource',
'./query_ctrl'
],
function(MonascaDatasource, MonascaQueryCtrl) {
'use strict';
var MonascaConfigCtrl = function() {};
MonascaConfigCtrl.templateUrl = "partials/config.html";
var MonascaQueryOptionsCtrl = function() {};
MonascaQueryOptionsCtrl.templateUrl = "partials/query.options.html";
var MonascaAnnotationsQueryCtrl = function() {};
MonascaAnnotationsQueryCtrl.templateUrl = "partials/annotations.editor.html";
return {
'Datasource': MonascaDatasource,
'QueryCtrl': MonascaQueryCtrl,
'ConfigCtrl': MonascaConfigCtrl,
'QueryOptionsCtrl': MonascaQueryOptionsCtrl,
'AnnotationsQueryCtrl': MonascaAnnotationsQueryCtrl
};
});