Skip to content
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

Conversation

agrare
Copy link
Member

@agrare agrare commented Sep 30, 2019

Add a method to return DDF format params to create a vSphere provider
and a method to verify the credentials.

ManageIQ/manageiq#18818

@agrare agrare force-pushed the add_common_verify_credentials_and_params_for_create branch 9 times, most recently from 7e154de to e434b3f Compare October 1, 2019 00:14
# }
# }
def self.verify_credentials(args)
default_endpoint = args.dig("endpoints", "default")
Copy link
Member

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?

Copy link
Member Author

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")
Copy link
Member

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?

Copy link
Member Author

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
@agrare agrare force-pushed the add_common_verify_credentials_and_params_for_create branch from e434b3f to dc28803 Compare October 1, 2019 19:33
@miq-bot
Copy link
Member

miq-bot commented Oct 1, 2019

Checked commit agrare@dc28803 with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 👍

@Fryguy Fryguy merged commit d667d19 into ManageIQ:master Oct 1, 2019
@Fryguy Fryguy added this to the Sprint 122 Ending Oct 14, 2019 milestone Oct 1, 2019
@agrare agrare deleted the add_common_verify_credentials_and_params_for_create branch October 1, 2019 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants