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:
Jack Conradson 2016-09-01 16:30:25 -07:00 committed by GitHub
commit de4c776f0f
1 changed files with 4 additions and 0 deletions

View File

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