mysql-connector: implement getHistory for DB connector

This commit is contained in:
Alexander Zobnin
2017-07-21 19:30:53 +03:00
parent 6d89f36bb2
commit 16256f2778
12 changed files with 233 additions and 24 deletions

View File

@@ -67,6 +67,7 @@ System.register(['angular', 'lodash', './utils', './zabbixAPI.service.js', './za
if (enableDirectDBConnection) {
this.dbConnector = new ZabbixDBConnector(sqlDatasourceId);
this.getHistory = this.dbConnector.getHistory.bind(this.dbConnector);
}
}