• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / orangelight / 62bad3f1-d46d-40af-822c-403d653da2a8

17 Jun 2025 05:30PM UTC coverage: 0.447% (-94.9%) from 95.337%
62bad3f1-d46d-40af-822c-403d653da2a8

push

circleci

maxkadel
Install chrome & chromedriver for smoke specs

43 of 9610 relevant lines covered (0.45%)

0.01 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/app/checks/bibdata_status.rb
1
# frozen_string_literal: true
2
class BibdataStatus < HealthMonitor::Providers::Base
×
3
  attr_reader :critical
×
4

5
  def initialize
×
6
    super
×
7
    @critical = false
×
8
  end
×
9

10
  def check!
×
11
    status_uri = URI("#{Requests.config[:bibdata_base]}/health.json")
×
12
    req = Net::HTTP::Get.new(status_uri)
×
13
    response = Net::HTTP.start(status_uri.hostname, status_uri.port, use_ssl: true) { |http| http.request(req) }
×
14
    json_response = JSON.parse(response.body)
×
15
    raise "Bibdata has an invalid status" unless json_response["status"] == "ok"
×
16
  end
×
17
end
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc