Skip to content

Commit

Permalink
Remove Indexer backlog from header
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed May 14, 2020
1 parent 27cffbb commit a6d256c
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 205 deletions.
9 changes: 0 additions & 9 deletions app/controllers/index_queue_controller.rb

This file was deleted.

28 changes: 0 additions & 28 deletions app/javascript/modules/index_queue.js

This file was deleted.

7 changes: 0 additions & 7 deletions app/javascript/packs/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import 'modules/apo_form'
import 'modules/button_checker'
import 'modules/datastream_edit'
import 'modules/date_range_query'
import 'modules/index_queue'
import ItemCollection from 'modules/item_collection'
import 'modules/permission_add'
import 'modules/permission_grant'
Expand Down Expand Up @@ -71,12 +70,6 @@ Blacklight.onLoad(function() {
// $('[data-datepicker]').datepicker()
})


Blacklight.onLoad(function() {
$('[data-index-queue-depth-url]').indexQueueDepth()
})


Blacklight.onLoad(function() {
new ItemCollection().initialize()
})
Expand Down
1 change: 0 additions & 1 deletion app/javascript/style/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ $logo-image: "../images/logo.png";
@import "document";
@import "embargo";
@import "icons";
@import "index_queue";
@import "profile";
@import "search_results";
@import "show";
Expand Down
3 changes: 0 additions & 3 deletions app/javascript/style/index_queue.scss

This file was deleted.

5 changes: 0 additions & 5 deletions app/models/argo/exceptions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@

module Argo
module Exceptions
class IndexQueueRequestFailed < StandardError
end
class IndexQueueInvalidResponse < StandardError
end

# Raised if there is a problem communicating with dor_indexing_app
class ReindexError < RuntimeError; end
end
Expand Down
36 changes: 0 additions & 36 deletions app/models/index_queue.rb

This file was deleted.

7 changes: 0 additions & 7 deletions app/views/_user_util_links.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,5 @@
</li>

<li><%= link_to 'Feedback', 'mailto:argo-feedback@lists.stanford.edu' %></li>

<li>
<p class='navbar-text'>
Indexer Backlog: <span data-index-queue-depth-url="<%= index_queue_depth_path %>"></span>
</p>
</li>

</ul>
</div>
2 changes: 0 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,6 @@
resources :objects, only: :create # we only implement create for object registration
end

get 'index_queue/depth', to: 'index_queue#depth'

namespace :workflow_service do
get '/:pid/closeable',
action: 'closeable',
Expand Down
19 changes: 0 additions & 19 deletions spec/controllers/index_queue_controller_spec.rb

This file was deleted.

25 changes: 0 additions & 25 deletions spec/features/indexer_backlog_spec.rb

This file was deleted.

54 changes: 0 additions & 54 deletions spec/models/index_queue_spec.rb

This file was deleted.

9 changes: 0 additions & 9 deletions spec/support/mock_index_depth.rb

This file was deleted.

0 comments on commit a6d256c

Please sign in to comment.