Skip to content

Commit

Permalink
Merge pull request #924 from datacite/seed-data-layer
Browse files Browse the repository at this point in the history
Add contacts index to the rake task that seeds the data layer for dev.
  • Loading branch information
svogt0511 authored Mar 6, 2023
2 parents b5c5d0b + 0a64745 commit dc2eace
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/tasks/elasticsearch.rake
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ namespace :elasticsearch do
Rake::Task["event:create_alias"].invoke

Rake::Task["activity:create_index"].invoke

Rake::Task["contact:create_index"].invoke
Rake::Task["contact:create_alias"].invoke
end

desc "delete all indexes"
Expand All @@ -48,5 +51,6 @@ namespace :elasticsearch do
Rake::Task["doi:delete_index"].invoke
Rake::Task["event:delete_index"].invoke
Rake::Task["activity:delete_index"].invoke
Rake::Task["contact:delete_index"].invoke
end
end

0 comments on commit dc2eace

Please sign in to comment.