MCPcopy Index your code
hub / github.com/chartbrew/chartbrew / runRequest

Method runRequest

server/controllers/ChartController.js:952–963  ·  view source on GitHub ↗
(chart)

Source from the content-addressed store, hash-verified

950 }
951
952 runRequest(chart) {
953 return this.dataRequestController.sendRequest(chart.id, chart.connection_id)
954 .then((data) => {
955 return this.getChartData(chart.id, data);
956 })
957 .then(() => {
958 return this.findById(chart.id);
959 })
960 .catch((error) => {
961 return new Promise((resolve, reject) => reject(error));
962 });
963 }
964
965 testQuery(chart) {
966 return this.connectionController.findById(chart.connection_id)

Callers 4

updateChartDataMethod · 0.45
DatasetRoute.jsFile · 0.45

Calls 3

getChartDataMethod · 0.95
findByIdMethod · 0.95
sendRequestMethod · 0.80

Tested by

no test coverage detected