Add option to modify host header template for camshaft batch client

This commit is contained in:
Raul Ochoa
2016-04-20 16:36:29 +02:00
parent 41ead9664b
commit a35403cd91
6 changed files with 18 additions and 6 deletions
+3 -1
View File
@@ -202,7 +202,9 @@ var config = {
// - running an standalone server without any dependency on external services
inlineExecution: false,
// where the SQL API is running, it will use a custom Host header to specify the username.
endpoint: 'http://127.0.0.1:8080/api/v2/sql/job'
endpoint: 'http://127.0.0.1:8080/api/v2/sql/job',
// the template to use for adding the host header in the batch api requests
hostHeaderTemplate: '{{=it.username}}.localhost.lan'
}
}
,millstone: {