OpenSearch/x-pack/plugin
Sohaib Iftikhar 40b822c878 Scripting: Remove support for deprecated StoredScript contexts (#31394)
Removes support for storing scripts without the usual json around the
script. So You can no longer do:
```
POST _scripts/<templatename>
{
    "query": {
        "match": {
            "title": "{{query_string}}"
        }
    }
}
```

and must instead do:
```
POST _scripts/<templatename>
{
    "script": {
        "lang": "mustache",
        "source": {
            "query": {
                "match": {
                    "title": "{{query_string}}"
                }
            }
        }
    }
}
```

This improves error reporting when you attempt to store a script but don't
quite get the syntax right. Before, there was a good chance that we'd
think of it as a "raw" template and just store it. Now we won't do that.
Nice.
2018-07-05 09:30:08 -04:00
..
core [ML][TEST] Use java 11 valid time format in DataDescriptionTests (#31817) 2018-07-05 13:56:54 +01:00
deprecation
graph Core: Combine doExecute methods in TransportAction (#31517) 2018-06-22 15:03:01 -07:00
logstash Remove all unused imports and fix CRLF (#31207) 2018-06-11 15:12:12 +02:00
ml [ML] Don't treat stale FAILED jobs as OPENING in job allocation (#31800) 2018-07-05 13:26:17 +01:00
monitoring [ML] Return statistics about forecasts as part of the jobsstats and usage API (#31647) 2018-07-04 08:15:45 +02:00
rollup mark RollupIT.testTwoJobsStartStopDeleteOne as AwaitsFix 2018-07-05 10:03:10 +02:00
security Add JDK11 support and enable in CI (#31644) 2018-07-05 03:24:01 +00:00
sql SQL: Update CLI logo 2018-07-04 16:15:29 +03:00
src/test Watcher: Reenable start/stop yaml tests (#31754) 2018-07-03 14:52:52 +02:00
upgrade Remove deprecation warnings to prepare for Gradle 5 (sourceSets.main.output.classesDirs) (#30389) 2018-06-28 15:14:34 +03:00
watcher Scripting: Remove support for deprecated StoredScript contexts (#31394) 2018-07-05 09:30:08 -04:00
build.gradle Fix gradle4.8 deprecation warnings (#31654) 2018-06-29 19:17:19 +00:00