consul/ui/packages/consul-ui/tests/unit
Vijay 2f20c77e4d
Displays Consul version of each nodes in UI nodes section (#17754)
* update UINodes and UINodeInfo response with consul-version info added as NodeMeta, fetched from serf members

* update test cases TestUINodes, TestUINodeInfo

* added nil check for map

* add consul-version in local agent node metadata

* get consul version from serf member and add this as node meta in catalog register request

* updated ui mock response to include consul versions as node meta

* updated ui trans and added version as query param to node list route

* updates in ui templates to display consul version with filter and sorts

* updates in ui - model class, serializers,comparators,predicates for consul version feature

* added change log for Consul Version Feature

* updated to get version from consul service, if for some reason not available from serf

* updated changelog text

* updated dependent testcases

* multiselection version filter

* Update agent/consul/state/catalog.go

comments updated

Co-authored-by: Jared Kirschner <85913323+jkirschner-hashicorp@users.noreply.github.com>

---------

Co-authored-by: Jared Kirschner <85913323+jkirschner-hashicorp@users.noreply.github.com>
2023-07-12 13:34:39 -06:00
..
abilities Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
adapters Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
components Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
controllers Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
filter/predicates Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
helpers Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
mixins Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
models Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
routes Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
search/predicates Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
serializers Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
services Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
sort/comparators Displays Consul version of each nodes in UI nodes section (#17754) 2023-07-12 13:34:39 -06:00
utils Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00