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 listSparkJobsByNames = names =>
servicePostApi(Constants.serviceRouteApi, Constants.serviceApplication, Constants.services.flow, 'job/getbynames', names);
export const refreshDiagnosticKernel = (queryMetadata, kernelId) =>
servicePostApi(Constants.serviceRouteApi, Constants.serviceApplication, Constants.services.interactiveQuery, 'kernel/refresh', {
kernelId: kernelId,
userName: queryMetadata.userName,
name: queryMetadata.name,
displayName: queryMetadata.displayName,
inputSchema: queryMetadata.inputSchema,
normalizationSnippet: queryMetadata.normalizationSnippet,
refData: queryMetadata.refData,
functions: queryMetadata.functions
});