Merge pull request elastic/elasticsearch#3272 from jdconrad/deprecate
Deprecate Groovy, Python, and Javascript Original commit: elastic/x-pack-elasticsearch@e5c1d5a112
This commit is contained in:
commit
de4c776f0f
|
@ -70,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: >
|
||||||
|
@ -118,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