consul/ui/packages/consul-ui/tests
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
..
acceptance 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
integration Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
lib Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
pages Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
steps Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
unit Displays Consul version of each nodes in UI nodes section (#17754) 2023-07-12 13:34:39 -06:00
dictionary.js Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
index.html Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
pages.js Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
steps.js Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
test-helper.js Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00