OpenSearch/modules
Stuart Tettemer 426c7a5e8f
Scripting: add available languages & contexts API (#49652) (#49815)
Adds `GET /_script_language` to support Kibana dynamic scripting
language selection.

Response contains whether `inline` and/or `stored` scripts are
enabled as determined by the `script.allowed_types` settings.

For each scripting language registered, such as `painless`,
`expression`, `mustache` or custom, available contexts for the language
are included as determined by the `script.allowed_contexts` setting.

Response format:
```
{
  "types_allowed": [
    "inline",
    "stored"
  ],
  "language_contexts": [
    {
      "language": "expression",
      "contexts": [
        "aggregation_selector",
        "aggs"
        ...
      ]
    },
    {
      "language": "painless",
      "contexts": [
        "aggregation_selector",
        "aggs",
        "aggs_combine",
        ...
      ]
    }
...
  ]
}
```

Fixes: #49463 

**Backport**
2019-12-04 16:18:22 -07:00
..
aggs-matrix-stats (refactor) Extract Empty/Script/Missing ValuesSource behavior to an interface (#48320) (#49330) 2019-11-19 16:44:29 -05:00
analysis-common Allow custom characters in token_chars of ngram tokenizers (#49250) 2019-11-20 10:37:12 +01:00
ingest-common Backport: add templating support to pipeline processor (#49643) 2019-11-27 15:53:40 +01:00
ingest-geoip Update geolite2 database in ingest geoip plugin. (#49308) 2019-11-22 08:38:57 +01:00
ingest-user-agent update ingest-user-agent regexes.yml (#47807) 2019-10-18 16:26:48 +02:00
lang-expression Scripting: add available languages & contexts API (#49652) (#49815) 2019-12-04 16:18:22 -07:00
lang-mustache Scripting: add available languages & contexts API (#49652) (#49815) 2019-12-04 16:18:22 -07:00
lang-painless Scripting: add available languages & contexts API (#49652) (#49815) 2019-12-04 16:18:22 -07:00
mapper-extras Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
parent-join Add a cluster setting to disallow loading fielddata on _id field (#49166) 2019-11-28 09:35:28 +01:00
percolator #49166 Fix spurious test failure 2019-11-28 11:08:15 +01:00
rank-eval Add a cluster setting to disallow loading fielddata on _id field (#49166) 2019-11-28 09:35:28 +01:00
reindex Deprecate sorting in reindex (#49458) (#49738) 2019-12-01 19:24:27 +01:00
repository-url Make BlobStoreRepository Aware of ClusterState (#49639) (#49711) 2019-11-29 14:57:47 +01:00
systemd Extend systemd timeout during startup (#49784) 2019-12-03 14:25:45 -05:00
transport-netty4 Stop Allocating Buffers in CopyBytesSocketChannel (#49825) (#49832) 2019-12-04 19:36:52 +01:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00