gitlab-org--gitlab-foss/spec
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
..
bin
config
controllers Rewrite issues show spec as a feature spec 2019-08-05 16:36:44 +12:00
db Add commit_id to draft_notes table 2019-08-01 16:00:36 -05:00
dependencies
factories Merge branch 'explicit-helm-factory-certs' into 'master' 2019-08-05 16:48:32 +00:00
features Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
finders Add group level container repository endpoints 2019-08-05 20:00:50 +00:00
fixtures Add group level container repository endpoints 2019-08-05 20:00:50 +00:00
frontend Revert "Fixed comparing value to undefined" 2019-08-06 12:02:23 +00:00
graphql Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
haml_lint/linter
helpers Add top navigation analytics link 2019-08-06 14:13:13 +08:00
initializers
javascripts Merge branch '65263-manual-action' into 'master' 2019-08-06 11:50:18 +00:00
lib Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
mailers Respect alt email when sending group access notifications 2019-07-25 21:09:25 -06:00
migrations Migrations for adding issue_id to versions table 2019-07-29 18:55:19 +00:00
models Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
policies Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
presenters Merge branch '65152-selective-highlight' into 'master' 2019-08-06 16:42:14 +00:00
rack_servers
requests Add group level container repository endpoints 2019-08-05 20:00:50 +00:00
routing Redirect project.wiki.git to project wiki home 2019-07-26 11:49:36 +12:00
rubocop Add RSpec/TopLevelDescribePath cop 2019-08-01 11:07:26 +01:00
serializers Fix error on project name 2019-08-05 21:15:00 +00:00
services Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
sidekiq/cron
support Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
tasks Remove mail_google_schema_whitelisting spec 2019-08-01 11:07:28 +01:00
uploaders
validators Refactor SystemHookUrlValidator and specs 2019-08-02 15:39:18 +01:00
views Fix project nav specs 2019-08-01 11:07:28 +01:00
workers Merge branch 'prefer-to-use-process-pipeline-worker' into 'master' 2019-08-05 09:29:45 +00:00
factories_spec.rb
fast_spec_helper.rb Add methods for injecting EE modules 2019-07-30 14:52:54 +02:00
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Again run quarantine specs if tag provided 2019-08-02 11:54:40 +02:00