Skip to content

Commit

Permalink
_xpack/watcher -> _watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
jbudz committed Jan 28, 2019
1 parent 5454245 commit 2d92339
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => {
}
},
url: {
fmt: '/_xpack/watcher/watch/<%=id%>/_deactivate',
fmt: '/_watcher/watch/<%=id%>/_deactivate',
req: {
id: {
type: 'string',
Expand All @@ -51,7 +51,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => {
}
},
url: {
fmt: '/_xpack/watcher/watch/<%=id%>/_activate',
fmt: '/_watcher/watch/<%=id%>/_activate',
req: {
id: {
type: 'string',
Expand All @@ -78,7 +78,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => {
}
},
url: {
fmt: '/_xpack/watcher/watch/<%=id%>/_ack/<%=action%>',
fmt: '/_watcher/watch/<%=id%>/_ack/<%=action%>',
req: {
id: {
type: 'string',
Expand Down Expand Up @@ -112,7 +112,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => {
}
},
url: {
fmt: '/_xpack/watcher/watch/<%=id%>',
fmt: '/_watcher/watch/<%=id%>',
req: {
id: {
type: 'string',
Expand All @@ -136,7 +136,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => {
}
},
url: {
fmt: '/_xpack/watcher/watch/_execute'
fmt: '/_watcher/watch/_execute'
},
needBody: true,
method: 'POST'
Expand All @@ -151,7 +151,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => {
watcher.getWatch = ca({
params: {},
url: {
fmt: '/_xpack/watcher/watch/<%=id%>',
fmt: '/_watcher/watch/<%=id%>',
req: {
id: {
type: 'string',
Expand All @@ -176,7 +176,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => {
}
},
url: {
fmt: '/_xpack/watcher/watch/<%=id%>',
fmt: '/_watcher/watch/<%=id%>',
req: {
id: {
type: 'string',
Expand All @@ -196,7 +196,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => {
watcher.restart = ca({
params: {},
url: {
fmt: '/_xpack/watcher/_restart'
fmt: '/_watcher/_restart'
},
method: 'PUT'
});
Expand All @@ -209,7 +209,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => {
watcher.start = ca({
params: {},
url: {
fmt: '/_xpack/watcher/_start'
fmt: '/_watcher/_start'
},
method: 'PUT'
});
Expand All @@ -222,7 +222,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => {
watcher.stats = ca({
params: {},
url: {
fmt: '/_xpack/watcher/stats'
fmt: '/_watcher/stats'
}
});

Expand All @@ -234,7 +234,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => {
watcher.stop = ca({
params: {},
url: {
fmt: '/_xpack/watcher/_stop'
fmt: '/_watcher/_stop'
},
method: 'PUT'
});
Expand Down

0 comments on commit 2d92339

Please sign in to comment.