consul/ui-v2/app/adapters
John Cowen ebc574c509
ui: oss don't ever POST/PUT Namespaces when writing data (#7238)
* ui: Ensure we use nonEmptySet everywhere where we add Namespace

We missed a coupld of places where we use the noEmptySet function, which
will only perform the set if the specified property is non-empty.

Currently we aren't certain there is a place in OSS where a Namespace
can make its way down via the API and endup being PUT/POSTed back out
again when saved. If this did ever happen we would assume it would be
the default namespace, but we add an extra check here to ensure we never
PUT/POST the Namespace property if Namespaces are disabled.

* ui: Add step/assertion for assert if a property is NOT set in the body

* ui: Improve updated/create acc testing for policy/token/roles:

Including making sure a Namespace property is never sent through if you
are running without namespace support
2020-02-07 15:50:50 +00:00
..
acl.js ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
application.js ui: Run 2 separate test runs oss and ent (#7214) 2020-02-07 11:02:53 +00:00
coordinate.js ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
dc.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
discovery-chain.js ui: Various amends for 1.7beta (#6965) 2019-12-18 18:27:54 +00:00
http.js ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
intention.js ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
kv.js ui: Ensure KV flags are passed through to Consul on update (#7216) 2020-02-05 09:37:45 +00:00
node.js ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
nspace.js ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
policy.js ui: oss don't ever POST/PUT Namespaces when writing data (#7238) 2020-02-07 15:50:50 +00:00
proxy.js ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
role.js ui: oss don't ever POST/PUT Namespaces when writing data (#7238) 2020-02-07 15:50:50 +00:00
service.js ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
session.js ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
token.js ui: oss don't ever POST/PUT Namespaces when writing data (#7238) 2020-02-07 15:50:50 +00:00