Made deprecation of Groovy, Javascript, and Python more explicit.

Original commit: elastic/x-pack-elasticsearch@04d725e9c1
This commit is contained in:
Jack Conradson 2016-08-31 15:57:09 -07:00
parent 3209c43ad3
commit 31c9d258c7
1 changed files with 4 additions and 2 deletions

View File

@ -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: >