Support http_basic auth_strategy for Ironic#1983
Conversation
da2cf0a to
b44070b
Compare
|
Build succeeded.
|
jtopjian
left a comment
There was a problem hiding this comment.
@iurygregory Thank you for submitting this!
I left one doc nit. The only reason it's important is because these docs get generated to display on godoc.org.
In addition, can you change all occurrences of Http to HTTP? This will help match Gophercloud's coding style. If http is all lowercase to begin with, it can stay http. For example:
httpClient := httpbasic.NewBareMetalHTTPBasic()
With regard to the acceptance tests, per our email conversation, you can omit them, but given you've submitted a really good set of tests, a better option might be to add a new conditional here (https://github.com/gophercloud/gophercloud/blob/master/acceptance/clients/conditions.go) so that these tests are only run when a certain environment variable is set.
And finally, per our contributor's guide, we need to also reference the service-side code that implements this functionality.
Please let me know if you have any questions. Thank you again.
Sure!
I noticed that we only run the tests from the v1, according to the shell script.
Should be enough add the to add the links for the code changes in ironic in the PR description?
|
83f3537 to
47bc219
Compare
|
Build failed.
|
You'll need to add the conditional check to the beginning of each test. For example:
That's perfect - thank you! |
a921b61 to
f0d32a9
Compare
|
Done =) Thanks! (sorry I clicked the wrong button and closed the PR) |
|
Build succeeded.
|
jtopjian
left a comment
There was a problem hiding this comment.
Two small changes and I think this is good to go.
Ironic introduced a new auth_type `http_basic` that can be used in standalone deployments[1]. The `http_basic` This commit adds the support to use the new authentication type. [1] https://docs.openstack.org/ironic/latest/install/standalone.html
f0d32a9 to
141aaa8
Compare
|
Build succeeded.
|
For #1429
This PR adds the support to use Ironic when
auth_strategyishttp_basic.Ironic introduced a new auth_type
http_basicthat canbe used in standalone deployments[1].
This commit adds the support to use the new authentication
type.
The code was introduced by the changes [2] and [3].
[1] https://docs.openstack.org/ironic/latest/install/standalone.html
[2] https://review.opendev.org/727467
[3] https://review.opendev.org/729070