Made deprecation of Groovy, Javascript, and Python more explicit.
Original commit: elastic/x-pack-elasticsearch@04d725e9c1
This commit is contained in:
parent
3209c43ad3
commit
31c9d258c7
|
@ -13,8 +13,6 @@
|
||||||
{ "status": "green", "@timestamp": "2005-01-01T00:00:55" }
|
{ "status": "green", "@timestamp": "2005-01-01T00:00:55" }
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
warnings:
|
|
||||||
- Groovy scripts are deprecated. Use Painless scripts instead.
|
|
||||||
xpack.watcher.put_watch:
|
xpack.watcher.put_watch:
|
||||||
id: "watch_with_groovy_closure"
|
id: "watch_with_groovy_closure"
|
||||||
body: >
|
body: >
|
||||||
|
@ -72,6 +70,8 @@
|
||||||
- match: { _id: "watch_with_groovy_closure" }
|
- match: { _id: "watch_with_groovy_closure" }
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
|
warnings:
|
||||||
|
- '[groovy] scripts are deprecated, use [painless] scripts instead'
|
||||||
xpack.watcher.execute_watch:
|
xpack.watcher.execute_watch:
|
||||||
id: "watch_with_groovy_closure"
|
id: "watch_with_groovy_closure"
|
||||||
body: >
|
body: >
|
||||||
|
@ -120,6 +120,8 @@
|
||||||
{ "status": "red", "@timestamp": "2005-01-01T00:01:55" }
|
{ "status": "red", "@timestamp": "2005-01-01T00:01:55" }
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
|
warnings:
|
||||||
|
- '[groovy] scripts are deprecated, use [painless] scripts instead'
|
||||||
xpack.watcher.execute_watch:
|
xpack.watcher.execute_watch:
|
||||||
id: "watch_with_groovy_closure"
|
id: "watch_with_groovy_closure"
|
||||||
body: >
|
body: >
|
||||||
|
|
Loading…
Reference in New Issue