Skip to content

Commit

Permalink
_xpack/rollup -> _rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
jbudz committed Jan 28, 2019
1 parent 97dc19c commit f82b9f8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions x-pack/plugins/rollup/server/client/elasticsearch_rollup.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand Down

0 comments on commit f82b9f8

Please sign in to comment.