OpenSearch/plugins
Igor Motov c75ac319a6
Add ability to associate an ID with tasks (#27764)
Adds support for capturing the X-Opaque-Id header from a REST request and storing it's value in the tasks that this request started. It works for all user-initiated tasks (not only search).

Closes #23250

Usage:
```
$ curl -H "X-Opaque-Id: imotov" -H "foo:bar" "localhost:9200/_tasks?pretty&group_by=parents"
{
  "tasks" : {
    "7qrTVbiDQKiZfubUP7DPkg:6998" : {
      "node" : "7qrTVbiDQKiZfubUP7DPkg",
      "id" : 6998,
      "type" : "transport",
      "action" : "cluster:monitor/tasks/lists",
      "start_time_in_millis" : 1513029940042,
      "running_time_in_nanos" : 266794,
      "cancellable" : false,
      "headers" : {
        "X-Opaque-Id" : "imotov"
      },
      "children" : [
        {
          "node" : "V-PuCjPhRp2ryuEsNw6V1g",
          "id" : 6088,
          "type" : "netty",
          "action" : "cluster:monitor/tasks/lists[n]",
          "start_time_in_millis" : 1513029940043,
          "running_time_in_nanos" : 67785,
          "cancellable" : false,
          "parent_task_id" : "7qrTVbiDQKiZfubUP7DPkg:6998",
          "headers" : {
            "X-Opaque-Id" : "imotov"
          }
        },
        {
          "node" : "7qrTVbiDQKiZfubUP7DPkg",
          "id" : 6999,
          "type" : "direct",
          "action" : "cluster:monitor/tasks/lists[n]",
          "start_time_in_millis" : 1513029940043,
          "running_time_in_nanos" : 98754,
          "cancellable" : false,
          "parent_task_id" : "7qrTVbiDQKiZfubUP7DPkg:6998",
          "headers" : {
            "X-Opaque-Id" : "imotov"
          }
        }
      ]
    }
  }
}
```
2018-01-12 15:34:17 -05:00
..
analysis-icu Upgrade to Lucene 7.2.0. (#27910) 2017-12-20 14:17:40 +01:00
analysis-kuromoji Upgrade to Lucene 7.2.0. (#27910) 2017-12-20 14:17:40 +01:00
analysis-phonetic Upgrade to Lucene 7.2.0. (#27910) 2017-12-20 14:17:40 +01:00
analysis-smartcn Upgrade to Lucene 7.2.0. (#27910) 2017-12-20 14:17:40 +01:00
analysis-stempel Upgrade to Lucene 7.2.0. (#27910) 2017-12-20 14:17:40 +01:00
analysis-ukrainian Upgrade to Lucene 7.2.0. (#27910) 2017-12-20 14:17:40 +01:00
discovery-azure-classic [Test] Do not rely on MockZenPing for Azure tests (#27945) 2017-12-22 09:58:02 +01:00
discovery-ec2 Disable TestZenDiscovery in cloud providers integrations test 2017-12-20 14:02:55 +01:00
discovery-file Remove some unused code (#27792) 2017-12-13 16:45:55 +01:00
discovery-gce Disable TestZenDiscovery in cloud providers integrations test 2017-12-20 14:02:55 +01:00
examples Make sure that we don't detect files as maven coordinate when installing a plugin (#28163) 2018-01-10 14:59:37 +01:00
ingest-attachment update ingest-attachment to use Tika 1.17 and newer deps (#27824) 2017-12-15 13:47:26 -08:00
ingest-geoip test: do not use asn fields 2018-01-07 23:21:01 +01:00
ingest-user-agent update ingest-user-agent regexes.yml (#25608) 2017-07-10 08:43:11 -07:00
jvm-example Remove path.conf setting 2017-06-26 15:18:29 -04:00
mapper-murmur3 Add support for filtering mappings fields (#27603) 2017-12-05 20:31:29 +01:00
mapper-size Unify the result interfaces from get and search in Java client (#25361) 2017-06-29 11:35:28 +02:00
repository-azure Allow affix settings to specify dependencies (#27161) 2017-11-13 12:06:36 +01:00
repository-gcs Update Google SDK to version 1.23 (#27381) 2017-11-15 15:30:27 +01:00
repository-hdfs Fix SecurityException when HDFS Repository used against HA Namenodes (#27196) 2017-12-01 14:26:05 -05:00
repository-s3 TEST: reduce blob size #testExecuteMultipartUpload 2017-12-20 12:43:05 -05:00
store-smb Validate top-level keys for create index request (#23755) (#23869) 2017-09-26 09:49:20 -07:00
transport-nio Add ability to associate an ID with tasks (#27764) 2018-01-12 15:34:17 -05:00
build.gradle Plugins: Include license and notice files in zip (#23191) 2017-02-15 11:23:12 -08:00