From f82b9f8d6d9a908d802caf0142f9930b06fb6acf Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 28 Jan 2019 11:58:25 -0600 Subject: [PATCH] _xpack/rollup -> _rollup --- .../rollup/server/client/elasticsearch_rollup.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/x-pack/plugins/rollup/server/client/elasticsearch_rollup.js b/x-pack/plugins/rollup/server/client/elasticsearch_rollup.js index 1799f233182f0..af134c12fae22 100644 --- a/x-pack/plugins/rollup/server/client/elasticsearch_rollup.js +++ b/x-pack/plugins/rollup/server/client/elasticsearch_rollup.js @@ -13,7 +13,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { rollup.rollupIndexCapabilities = ca({ urls: [ { - fmt: '/<%=indexPattern%>/_xpack/rollup/data', + fmt: '/<%=indexPattern%>/_rollup/data', req: { indexPattern: { type: 'string' @@ -56,7 +56,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { rollup.jobs = ca({ urls: [ { - fmt: '/_xpack/rollup/job/_all', + fmt: '/_rollup/job/_all', } ], method: 'GET' @@ -65,7 +65,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { rollup.job = ca({ urls: [ { - fmt: '/_xpack/rollup/job/<%=id%>', + fmt: '/_rollup/job/<%=id%>', req: { id: { type: 'string' @@ -79,7 +79,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { rollup.startJob = ca({ urls: [ { - fmt: '/_xpack/rollup/job/<%=id%>/_start', + fmt: '/_rollup/job/<%=id%>/_start', req: { id: { type: 'string' @@ -93,7 +93,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { rollup.stopJob = ca({ urls: [ { - fmt: '/_xpack/rollup/job/<%=id%>/_stop', + fmt: '/_rollup/job/<%=id%>/_stop', req: { id: { type: 'string' @@ -107,7 +107,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { rollup.deleteJob = ca({ urls: [ { - fmt: '/_xpack/rollup/job/<%=id%>', + fmt: '/_rollup/job/<%=id%>', req: { id: { type: 'string' @@ -121,7 +121,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => { rollup.createJob = ca({ urls: [ { - fmt: '/_xpack/rollup/job/<%=id%>', + fmt: '/_rollup/job/<%=id%>', req: { id: { type: 'string'