Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const deleteDiagnosticKernelOnUnload = (kernelId, flowName) =>
servicePostApi(Constants.serviceRouteApi, Constants.serviceApplication, Constants.services.interactiveQuery, 'kernel/delete', {
kernelId: kernelId,
name: flowName
});
export const restartAllJobsForProduct = name =>
servicePostApi(Constants.serviceRouteApi, Constants.serviceApplication, Constants.services.flow, 'flow/restartjobs', name);