open-nomad/helper
Charlie Voiselle 0f782acfda Allow . in Environment Variable Names
From [https://github.com/appc/spec/blob/master/spec/aci.md](https://github.com/appc/spec/blob/master/spec/aci.md):

>environment (list of objects, optional) represents the app's environment variables (ACE can append). The listed objects must have two key-value pairs: name and value. The name must consist solely of letters, digits, and underscores '_' as outlined in IEEE Std 1003.1-2008, 2016 Edition, with practical considerations dictating that the name may also include periods '.' and hyphens '-'. The value is an arbitrary string. These values are not evaluated in any way, and no substitutions are made.

Dotted environment variables are frequently used as a part of the Spring Boot pattern. (re: ZD-6116)

This PR specifically doesn't address the conversion of hyphens (`-`) due to an issue with rkt [[Nomad GH # 2358]](https://github.com/hashicorp/nomad/issues/2358).
2018-01-22 13:59:37 -08:00
..
args
discover
fields
flag-helpers
flatmap
gated-writer
stats
testlog Improve naming and docs 2018-01-08 13:36:07 -08:00
testtask
tlsutil
uuid
funcs.go Allow . in Environment Variable Names 2018-01-22 13:59:37 -08:00
funcs_test.go Allow . in Environment Variable Names 2018-01-22 13:59:37 -08:00