-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a common verify_creds and params_for_create #457
Add a common verify_creds and params_for_create #457
Conversation
7e154de
to
e434b3f
Compare
# } | ||
# } | ||
def self.verify_credentials(args) | ||
default_endpoint = args.dig("endpoints", "default") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we verify the events endpoint?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No we only verified the default endpoint
# } | ||
# } | ||
def self.verify_credentials(args) | ||
default_endpoint = args.dig("endpoints", "default") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to verify the console creds?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't today but we probably should
Add a method to return DDF format params to create a vSphere provider and a method to verify the credentials. ManageIQ/manageiq#18818
e434b3f
to
dc28803
Compare
Checked commit agrare@dc28803 with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0 |
Add a method to return DDF format params to create a vSphere provider
and a method to verify the credentials.
ManageIQ/manageiq#18818