-
Notifications
You must be signed in to change notification settings - Fork 900
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
Reset of the default automate domains #94
Conversation
raise "#{MANAGEIQ_DOMAIN} domain directory not found [#{ds_dir}]" unless Dir.exist?(ds_dir) | ||
reset_manageiq_domain(ds_dir) | ||
raise "Datastore directory [#{ds_dir}] not found" unless Dir.exist?(ds_dir) | ||
Dir.glob("#{ds_dir}/*/#{DOMAIN_YAML_FILENAME}").each do |domain_file| |
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.
@mkanoor Looks like you are including MiqAeYamlImportExportMixin at the top of this file to resolve the DOMAIN_YAML_FILENAME
constant. I think it would be better to remove the include and fully qualify the reference using MiqAeDomain::DOMAIN_YAML_FILENAME
.
The rake script was broken looking for 'datastore' directory Added support for resetting multiple domains if they exist in the db/fixtures/ae_datastore directory
Checked commit mkanoor@09237b2 with rubocop 0.21.0 |
@gmcculloug |
Reset of the default automate domains
Skip invalid container_images (cherry picked from commit f006a2572c257c8545aa29bfa621688b404e76e0)
Skip invalid container_images (cherry picked from commit f006a2572c257c8545aa29bfa621688b404e76e0)
Skip invalid container_images (cherry picked from commit f006a2572c257c8545aa29bfa621688b404e76e0)
Skip invalid container_images (cherry picked from commit f006a2572c257c8545aa29bfa621688b404e76e0)
The rake script was broken looking for 'datastore' directory
Added support for resetting multiple domains if they exist in
the db/fixtures/ae_datastore directory