OpenSearch/qa
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
..
ccs-unavailable-clusters Cross Cluster Search: make remote clusters optional (#27182) 2017-11-21 11:41:47 +01:00
evil-tests Plugins: Add plugin extension capabilities (#27881) 2018-01-03 11:12:43 -08:00
full-cluster-restart [TEST] Wait for replicas to be allocated before shrinking 2018-01-08 10:02:56 +01:00
mixed-cluster Plugins: Add plugin extension capabilities (#27881) 2018-01-03 11:12:43 -08:00
multi-cluster-search Update version check for CCS optional remote clusters 2017-11-21 16:52:45 +01:00
no-bootstrap-tests Add the ability to bundle multiple plugins into a meta plugin (#28022) 2018-01-09 18:28:43 +01:00
query-builder-bwc Consolidate version numbering semantics (#27397) 2017-11-23 20:21:53 +00:00
reindex-from-old Disable reindex from old tests on JDK 10 2017-12-23 08:38:55 -05:00
rolling-upgrade Add ability to associate an ID with tasks (#27764) 2018-01-12 15:34:17 -05:00
smoke-test-client Create nio-transport plugin for NioTransport (#27949) 2018-01-05 09:41:29 -07:00
smoke-test-http Create nio-transport plugin for NioTransport (#27949) 2018-01-05 09:41:29 -07:00
smoke-test-ingest-disabled Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
smoke-test-ingest-with-all-dependencies Fixed test to be up to date with the new database files. 2017-12-20 14:41:41 +01:00
smoke-test-multinode Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
smoke-test-plugins Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
smoke-test-rank-eval-with-mustache Add skip versions for rank_eval yaml tests 2017-12-14 22:18:37 +01:00
smoke-test-reindex-with-all-modules Automatically prepare indices for splitting (#27451) 2017-11-23 09:48:54 +01:00
smoke-test-tribe-node Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
vagrant Fix expected plugins test for transport-nio 2018-01-08 11:09:04 -05:00
verify-version-constants Consolidate version numbering semantics (#27397) 2017-11-23 20:21:53 +00:00
wildfly Enable Wildfly tests on JDK 9 and JDK 10 2018-01-02 21:19:24 -05:00