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" }
|
||||
|
||||
- do:
|
||||
warnings:
|
||||
- Groovy scripts are deprecated. Use Painless scripts instead.
|
||||
xpack.watcher.put_watch:
|
||||
id: "watch_with_groovy_closure"
|
||||
body: >
|
||||
|
@ -72,6 +70,8 @@
|
|||
- match: { _id: "watch_with_groovy_closure" }
|
||||
|
||||
- do:
|
||||
warnings:
|
||||
- '[groovy] scripts are deprecated, use [painless] scripts instead'
|
||||
xpack.watcher.execute_watch:
|
||||
id: "watch_with_groovy_closure"
|
||||
body: >
|
||||
|
@ -120,6 +120,8 @@
|
|||
{ "status": "red", "@timestamp": "2005-01-01T00:01:55" }
|
||||
|
||||
- do:
|
||||
warnings:
|
||||
- '[groovy] scripts are deprecated, use [painless] scripts instead'
|
||||
xpack.watcher.execute_watch:
|
||||
id: "watch_with_groovy_closure"
|
||||
body: >
|
||||
|
|
Loading…
Reference in New Issue