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

Reset of the default automate domains #94

Merged
merged 1 commit into from
Jun 27, 2014

Conversation

mkanoor
Copy link
Contributor

@mkanoor mkanoor commented Jun 25, 2014

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

@mkanoor
Copy link
Contributor Author

mkanoor commented Jun 25, 2014

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

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
@miq-bot
Copy link
Member

miq-bot commented Jun 27, 2014

Checked commit mkanoor@09237b2 with rubocop 0.21.0
2 files checked, 0 offenses detected
Everything looks good. 🍪

@mkanoor
Copy link
Contributor Author

mkanoor commented Jun 27, 2014

@gmcculloug
Removed the mixing to define DOMAIN_YAML_FILENAME

gmcculloug added a commit that referenced this pull request Jun 27, 2014
Reset of the default automate domains
@gmcculloug gmcculloug merged commit c2ba716 into ManageIQ:master Jun 27, 2014
@mkanoor mkanoor deleted the fix_reset_db branch July 7, 2014 21:01
agrare pushed a commit to agrare/manageiq that referenced this pull request Aug 31, 2017
Skip invalid container_images

(cherry picked from commit f006a2572c257c8545aa29bfa621688b404e76e0)
agrare pushed a commit to agrare/manageiq that referenced this pull request Sep 22, 2017
Skip invalid container_images

(cherry picked from commit f006a2572c257c8545aa29bfa621688b404e76e0)
agrare pushed a commit to agrare/manageiq that referenced this pull request Sep 22, 2017
Skip invalid container_images

(cherry picked from commit f006a2572c257c8545aa29bfa621688b404e76e0)
d-m-u pushed a commit to d-m-u/manageiq that referenced this pull request Jun 6, 2018
Skip invalid container_images

(cherry picked from commit f006a2572c257c8545aa29bfa621688b404e76e0)
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