Skip to content

[Pending #435] [Pending #436] Switch service client.microversion from string to microversion type - #437

Closed
pospispa wants to merge 3 commits into
gophercloud:masterfrom
pospispa:switch-ServiceClient.Microversion-from-string-to-Microversion-type
Closed

pospispa wants to merge 3 commits into
gophercloud:masterfrom
pospispa:switch-ServiceClient.Microversion-from-string-to-Microversion-type

Conversation

@pospispa

Copy link
Copy Markdown
Contributor

For #315, #380

Links to the line numbers/files in the OpenStack source code that support the
code in this PR:

N/A

jtopjian and others added 3 commits July 26, 2017 14:22
Some Manila service API requests are supported from a particular microversion. Therefore, it will be needed to compare two different microversions in order to find out if an API request is supported or not.

That's why the a data type Microversion with methods for parsing and comparing microversions is added.
Some Manila service API requests are supported from a particular microversion. Therefore, it will be needed to compare two different microversions in order to find out if an API request is supported or not.

That's why the Microversion was reworked to be of type internal.Microversion.
@pospispa pospispa changed the title Switch service client.microversion from string to microversion type [Pending #435] [Pending #436] Switch service client.microversion from string to microversion type Jul 26, 2017
@pospispa

Copy link
Copy Markdown
Contributor Author

Started using internal.Microversion type for ServiceClient.Microversion instead of string in order to simplify parsing and comparing in functions that create a request that is available from a particular microversion.

@coveralls

coveralls commented Jul 26, 2017 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.02%) to 71.23% when pulling 6dfd04d on pospispa:switch-ServiceClient.Microversion-from-string-to-Microversion-type into 2804b72 on gophercloud:master.

@pospispa

pospispa commented Aug 1, 2017

Copy link
Copy Markdown
Contributor Author

Closing this PR so that microservices can be discussed as a whole in #441

@pospispa pospispa closed this Aug 1, 2017
msheikh-wind pushed a commit to msheikh-wind/gophercloud that referenced this pull request May 19, 2025
…#437)

Test plan:
PASS: 'make' and 'make test' ran successfully

PASS: deployctl tool generates the cluster-host platformNetworks
and addresspools without --minimal-config

PASS: deployctl tool doesnot generate cluster-host platformNetworks
and addresspools with --minimal-config

Signed-off-by: vineela-pachchipulusu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants