Revert "Make drivers take arguments as a list and not as a string"

This commit is contained in:
Alex Dadgar
2015-11-18 13:46:43 -08:00
parent c56bb46f67
commit d666f5bde1
29 changed files with 205 additions and 149 deletions

View File

@@ -18,19 +18,17 @@ HTTP from the Nomad client.
The `java` driver supports the following configuration in the job spec:
* `artifact_source` - The hosted location of the source Jar file. Must be
accessible from the Nomad client
* `artifact_source` - **(Required)** The hosted location of the source Jar file. Must be accessible
from the Nomad client
* `checksum` - **(Optional)** The checksum type and value for the `artifact_source` image.
The format is `type:value`, where type is any of `md5`, `sha1`, `sha256`, or `sha512`,
and the value is the computed checksum. If a checksum is supplied and does not
match the downloaded artifact, the driver will fail to start
* `checksum` - (Optional) The checksum type and value for the `artifact_source`
image. The format is `type:value`, where type is any of `md5`, `sha1`,
`sha256`, or `sha512`, and the value is the computed checksum. If a checksum
is supplied and does not match the downloaded artifact, the driver will fail
to start
* `args` - **(Optional)** The argument list for the `java` command, space separated.
* `args` - (Optional) A list of arguments to the `java` command.
* `jvm_options` - (Optional) A list of JVM options to be passed while invoking
java. These options are passed not validated in any way in Nomad.
* `jvm_options` - **(Optional)** JVM options to be passed while invoking java. These options
are passed not validated in any way in Nomad.
## Client Requirements