Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
ctx.backendSrv.datasourceRequest = function(request) {
return ctx.$q.when({
_request: request,
status: 200,
headers: {
'content-type': 'application/json'
},
data: API.OnmsResult.ok({'packageDescription':'OpenNMS','displayVersion':'19.1.0','packageName':'opennms','version':'19.1.0'})
});
};