OpenSearch/qa
Alexander Reelsen 6406c9816a Watcher: Add transform input for chained input (elastic/x-pack-elasticsearch#2861)
The chained input in watcher is a useful feature to
call several endpoints before execution a condition.
However it was pretty hard to modify data from a previous
input in order to be able to execute it in another input.

This commit adds a another input, called a `transform` input,
which allows you to do a transform as another input in a chained
input.

See this example

```
"input" : {
  "chain" : {
    "inputs" : [ <1>
      {
        "first" : {
          "simple" : { "path" : "/_search" }
        }
      },
      {
        "second" : {
          "transform" : {
            "script" : "return [ 'path' : 'ctx.payload.first.path' + '/' ]"
          }
        }
      },
      {
        "third" : {
          "http" : {
            "request" : {
              "host" : "localhost",
              "port" : 9200,
              "path" : "{{ctx.payload.second.path}}" <2>
            }
          }
        }
      }
    ]
  }
}
```

This allows for far more flexibility before executing the next input in a chained
one.

Original commit: elastic/x-pack-elasticsearch@3af9ba6e9b
2017-11-27 13:27:56 +01:00
..
audit-tests Retry startup for IndexAuditTrail and version templates (elastic/x-pack-elasticsearch#2755) 2017-10-30 09:11:18 -06:00
core-rest-tests-with-security Remove default passwords from reserved users (elastic/x-pack-elasticsearch#1665) 2017-06-29 15:27:57 -05:00
full-cluster-restart Tidy up after elastic/x-pack-elasticsearch#3078 (elastic/x-pack-elasticsearch#3099) 2017-11-24 08:13:13 +00:00
ml-basic-multi-node Revert "Use shaded rest client dependencies" (elastic/x-pack-elasticsearch#2352) 2017-08-25 14:13:16 -05:00
ml-disabled Revert "Use shaded rest client dependencies" (elastic/x-pack-elasticsearch#2352) 2017-08-25 14:13:16 -05:00
ml-no-bootstrap-tests Use TestEnvironment factory method to create test Environment objects (elastic/x-pack-elasticsearch#2860) 2017-11-04 13:25:56 +00:00
ml-single-node-tests Promote common rest test utility methods to ESRestTestCase 2017-10-05 10:10:10 +02:00
multi-cluster-search-security Rest spec fixes (elastic/x-pack-elasticsearch#2965) 2017-11-15 09:33:19 +01:00
multi-node Replace global checkpoint sync test 2017-10-13 10:05:59 -04:00
openldap-tests Halt OpenLDAP fixture (elastic/x-pack-elasticsearch#2929) 2017-11-08 19:57:29 +02:00
reindex-tests-with-security Remove default passwords from reserved users (elastic/x-pack-elasticsearch#1665) 2017-06-29 15:27:57 -05:00
rolling-upgrade Tidy up after elastic/x-pack-elasticsearch#3078 (elastic/x-pack-elasticsearch#3099) 2017-11-24 08:13:13 +00:00
security-client-tests Remove default passwords from reserved users (elastic/x-pack-elasticsearch#1665) 2017-06-29 15:27:57 -05:00
security-example-extension Use TestEnvironment factory method to create test Environment objects (elastic/x-pack-elasticsearch#2860) 2017-11-04 13:25:56 +00:00
security-migrate-tests Fix migrate tool integration test 2017-07-28 21:33:54 +09:00
security-setup-password-tests Revert "Use shaded rest client dependencies" (elastic/x-pack-elasticsearch#2352) 2017-08-25 14:13:16 -05:00
smoke-test-graph-with-security Remove default passwords from reserved users (elastic/x-pack-elasticsearch#1665) 2017-06-29 15:27:57 -05:00
smoke-test-ml-with-security Remove InternalClient and InternalSecurityClient (elastic/x-pack-elasticsearch#3054) 2017-11-22 08:35:18 -07:00
smoke-test-plugins Remove default passwords from reserved users (elastic/x-pack-elasticsearch#1665) 2017-06-29 15:27:57 -05:00
smoke-test-plugins-ssl Disable TLS by default (elastic/x-pack-elasticsearch#2481) 2017-09-14 12:18:54 -06:00
smoke-test-security-with-mustache Convert put_template uses to put_script in rest tests 2017-07-13 00:01:56 -07:00
smoke-test-watcher Remove InternalClient and InternalSecurityClient (elastic/x-pack-elasticsearch#3054) 2017-11-22 08:35:18 -07:00
smoke-test-watcher-with-mustache Remove InternalClient and InternalSecurityClient (elastic/x-pack-elasticsearch#3054) 2017-11-22 08:35:18 -07:00
smoke-test-watcher-with-painless Watcher: Add transform input for chained input (elastic/x-pack-elasticsearch#2861) 2017-11-27 13:27:56 +01:00
smoke-test-watcher-with-security Watcher: Store thread context headers in watch (elastic/x-pack-elasticsearch#2808) 2017-11-24 09:15:54 +01:00
transport-client-tests Remove deprecated script settings. (elastic/x-pack-elasticsearch#1469) 2017-05-18 13:32:57 -07:00
tribe-node-tests-with-security Remove default passwords from reserved users (elastic/x-pack-elasticsearch#1665) 2017-06-29 15:27:57 -05:00
tribe-tests-with-license Remove the xpack plugin's dependency on the tribe module (elastic/x-pack-elasticsearch#2901) 2017-11-08 12:39:02 -07:00
tribe-tests-with-security Remove InternalClient and InternalSecurityClient (elastic/x-pack-elasticsearch#3054) 2017-11-22 08:35:18 -07:00
vagrant Adjust number of files assertion in packaging tests 2017-11-01 22:08:47 -04:00
build.gradle Remove assemble from build task when assemble removed 2017-06-16 17:19:47 -04:00