gitlab-org--gitlab-foss/spec/lib
David Wilkins 467a411e88 Convert RestClient to Gitlab::HTTP for Prometheus Monitor
- Closes #60024

- Change PrometheusClient.new to accept a base url instead of an
  already created RestClient

- Use Gitlab::HTTP in PrometheusClient instead of creating RestClient
  in PrometheusService

- Move http_options from PrometheusService to
  PrometheusClient (follow_redirects: false)

- ensure that base urls don't have the trailing slash

- Created a `PrometheusClient#url` method that might not be strictly
  required

- Change rescued exceptions from RestClient::* to
  HTTParty::ResponseError where possible and StandardError for the
  rest
2019-08-07 02:42:20 +00:00
..
api Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
backup Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
banzai Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq 2019-07-29 13:19:50 -05:00
bitbucket Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
bitbucket_server Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
constraints Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
container_registry Explicitly reject non http(s) schemes 2019-07-29 19:20:30 -03:00
feature Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
gitaly Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
gitlab Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
google_api
json_web_token
mattermost
microsoft_teams
object_storage
omni_auth/strategies
peek/views Fix SystemStackError when Peek bar is active with Rugged calls 2019-07-31 15:47:19 -07:00
prometheus Fix pid discovery for Unicorn in PidProvider 2019-07-26 15:02:21 +00:00
quality Resolves confusion within spec rake tasks 2019-07-23 18:34:50 -06:00
rspec_flaky
safe_zip
sentry Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
serializers Remove dead MySQL code 2019-07-23 16:53:03 +01:00
system_check
after_commit_queue_spec.rb Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
event_filter_spec.rb Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
expand_variables_spec.rb Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
extracts_path_spec.rb Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
feature_spec.rb Add new Feature.remove method 2019-08-01 08:29:14 +10:00
file_size_validator_spec.rb Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
forever_spec.rb Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
gitlab_spec.rb Backport EE changes made to the scripts/ directory 2019-07-29 13:53:20 +02:00
milestone_array_spec.rb
system_check_spec.rb
uploaded_file_spec.rb