gitlab-org--gitlab-foss/app/models/clusters
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
..
applications Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
concerns Enable GitLabb runner to be uninstalled from cluster 2019-07-16 16:11:10 +00:00
platforms Move terminal construction logic to Environment 2019-06-25 09:22:20 +10:00
providers
cluster.rb Remove unused cluster configuration logic 2019-07-31 11:00:11 +10:00
clusters_hierarchy.rb Create CTE query for clusters hierarchy 2019-07-08 06:03:09 +00:00
group.rb
instance.rb Remove instance_clusters feature_flag 2019-06-28 01:24:05 +12:00
kubernetes_namespace.rb
project.rb