Add logic to select the request microversion
Microversion is being set on service client at class level which will be
used to send in microversion header of each method of that service client.
Tests class needs to set the selected microversion on service clients and
tests accordingly.
This commit adds the below logic to select the appropriate request
microversion-
- Max of cfg min_version and class min_version
- None if both are None (In this case service client will send request
without microversion)
Setting selected microversion on each service clients through
Manager class which manage all service clients
Partially implements blueprint api-microversions-testing-support
Change-Id: If9b03d03ef29fdeaa75dda823e4904aae1023e70
5 files changed