open-nomad/ui/tests/integration
Charlie Voiselle d93ba0cf32
Add warnings to `var put` for non-alphanumeric keys. (#15933)
* Warn when Items key isn't directly accessible

Go template requires that map keys are alphanumeric for direct access
using the dotted reference syntax. This warns users when they create
keys that run afoul of this requirement.

- cli: use regex to detect invalid indentifiers in var keys
- test: fix slash in escape test case
- api: share warning formatting function between API and CLI
- ui: warn if var key has characters other than _, letter, or number

---------
Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-02-13 16:14:59 -05:00
..
components Add warnings to `var put` for non-alphanumeric keys. (#15933) 2023-02-13 16:14:59 -05:00
data-modeling Epic: Evaluation Detail Sidebar (#12370) 2022-04-05 14:34:37 -04:00
helpers [ui] Make the not-auth'd messages in the app less token-centric (#15557) 2022-12-20 11:02:44 -05:00
modifiers Secure Variables UI: /variables/new and /variables/*path (#13069) 2022-07-11 13:34:04 -04:00
util ui: apply new qunit linting rules to tests 2022-01-20 10:01:35 -05:00
.gitkeep sync 2017-09-19 10:08:23 -05:00