gitlab-org--gitlab-foss/spec/services
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
..
application_settings Add prometheus listen address to whitelist 2019-07-31 17:38:15 +00:00
applications
auth Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3809 2019-08-01 20:38:07 +03:00
auto_merge Split AutoMergeService interfaces into two cancel and abort 2019-07-05 13:19:30 +07:00
boards Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
branches Deprecate diverging commit count with max parameter 2019-07-02 17:07:33 -07:00
chat_names
ci Merge branch 'properly-process-all-needs' into 'master' 2019-08-05 08:12:28 +00:00
clusters Remove unused Clusters::RefreshService 2019-07-29 12:04:18 +10:00
commits
deploy_keys
deploy_tokens Add username to deploy tokens 2019-07-02 18:56:48 +00:00
discussions
emails
error_tracking
events
files
git Look for new branches more carefully 2019-06-18 12:53:53 +01:00
gpg_keys
groups Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
issuable Prefer flat_map over map + flatten in specs 2019-07-24 08:19:15 +00:00
issues Merge branch '63547-add-system-notes-for-when-a-zoom-call-was-added-removed-from-an-issue' into 'master' 2019-07-29 23:14:38 +00:00
keys
labels
lfs CE backport for changes in EE MR 13894 2019-06-17 11:23:06 +12:00
members Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
merge_requests Add exclusive lease to mergeability check process 2019-07-31 19:58:43 -03:00
metrics/dashboard Ensure default metrics embed is cached 2019-07-31 06:32:47 +00:00
milestones
namespaces Includes logic to persist namespace statistics 2019-07-02 14:44:39 +00:00
notes Move some quick actions feature specs to unit tests 2019-06-18 14:26:48 +00:00
pages_domains Remove auto ssl feature flags 2019-07-12 16:53:44 +00:00
projects Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
prometheus Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
protected_branches
protected_tags
quick_actions Make quick action "commands applied" banner more useful 2019-07-29 22:35:29 +00:00
releases
resource_events
search
self_monitoring/project Add backwards compatibility for legacy setting 2019-08-02 15:39:18 +01:00
submodules Add start_sha to commits API 2019-07-18 09:19:18 +02:00
suggestions Remove 2nd stub expectation of #last_diff_file 2019-06-05 16:19:45 -07:00
tags
test_hooks
todos/destroy Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
users Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
wiki_pages Count wiki page creation 2019-07-21 01:26:19 +00:00
wikis
access_token_validation_service_spec.rb
audit_event_service_spec.rb Format from and to fields in JSON audit log 2019-07-11 13:46:51 -07:00
auto_merge_service_spec.rb Split AutoMergeService interfaces into two cancel and abort 2019-07-05 13:19:30 +07:00
base_count_service_spec.rb
cohorts_service_spec.rb
compare_service_spec.rb
create_branch_service_spec.rb
create_snippet_service_spec.rb
delete_branch_service_spec.rb
delete_merged_branches_service_spec.rb
event_create_service_spec.rb
gravatar_service_spec.rb
import_export_clean_up_service_spec.rb
note_summary_spec.rb
notification_recipient_service_spec.rb
notification_service_spec.rb Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
preview_markdown_service_spec.rb Update spec param expectations 2019-06-05 16:19:45 -07:00
push_event_payload_service_spec.rb
repair_ldap_blocked_user_service_spec.rb
repository_archive_clean_up_service_spec.rb
reset_project_cache_service_spec.rb
search_service_spec.rb
service_response_spec.rb Automatically update MR merge-ref along merge status 2019-06-20 11:48:30 -03:00
spam_service_spec.rb
submit_usage_ping_service_spec.rb Protect Gitlab::HTTP against DNS rebinding attack 2019-05-30 10:47:31 -03:00
system_hooks_service_spec.rb
system_note_service_spec.rb Add system notes for when a zoom call was added/removed from an issue 2019-07-29 21:51:16 +02:00
task_list_toggle_service_spec.rb Properly identify task lists inside a blockquote 2019-07-19 12:40:16 -05:00
todo_service_spec.rb
update_deployment_service_spec.rb
update_merge_request_metrics_service_spec.rb
update_snippet_service_spec.rb
upload_service_spec.rb
user_project_access_changed_service_spec.rb
verify_pages_domain_service_spec.rb
web_hook_service_spec.rb Refactor SystemHookUrlValidator and specs 2019-08-02 15:39:18 +01:00
zoom_notes_service_spec.rb Add system notes for when a zoom call was added/removed from an issue 2019-07-29 21:51:16 +02:00