gitlab-org--gitlab-foss/spec/support/matchers
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
..
abort_matcher.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
access_matchers.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
access_matchers_for_controller.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
background_migrations_matchers.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
be_a_binary_string.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
be_like_time.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
be_n_plus_1_query.rb Fix N+1 problem in JobsController#index 2019-06-19 12:23:05 +02:00
be_url.rb Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
be_utf8.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
be_valid_commit.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
disallow_request_matchers.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
eq_pem.rb Generate lets_encrypt_private_key on the fly 2019-05-31 05:22:55 +00:00
exceed_query_limit.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
execute_check.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
gitaly_matchers.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
gitlab_git_matchers.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
graphql_matchers.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
have_emoji.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
have_gitlab_http_status.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
have_issuable_counts.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
include_module.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
issuable_matchers.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
markdown_matchers.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
match_file.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
match_ids.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
metric_counter_matcher.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
navigation_matcher.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
not_changed_matcher.rb
pagination_matcher.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
query_matcher.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
satisfy_matchers.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
security_header_matcher.rb Add frozen_string_literal to spec/support 2019-07-25 17:33:34 +12:00
user_status_matcher.rb