<commit_before>FactoryGirl.define do
  factory :service do
    project factory: :empty_project
    type 'Service'
  end

  factory :custom_issue_tracker_service, class: CustomIssueTrackerService do
    project factory: :empty_project
    type 'CustomIssueTrackerService'
    category 'issue_tracker'
    active true
    properties(
      project_url: 'https://project.url.com',
      issues_url: 'https://issues.url.com',
      new_issue_url: 'https://newissue.url.com'
    )
  end

  factory :kubernetes_service do
    project factory: :empty_project
    active true
    properties({
      api_url: 'https://kubernetes.example.com',
      token: 'a' * 40
    })
  end

  factory :jira_service do
    project factory: :empty_project
    active true
    properties(
      url: 'https://jira.example.com',
      project_key: 'jira-key'
    )
  end
end<commit_msg>Add support for Prometheus Service<commit_after>FactoryGirl.define do
  factory :service do
    project factory: :empty_project
    type 'Service'
  end

  factory :custom_issue_tracker_service, class: CustomIssueTrackerService do
    project factory: :empty_project
    type 'CustomIssueTrackerService'
    category 'issue_tracker'
    active true
    properties(
      project_url: 'https://project.url.com',
      issues_url: 'https://issues.url.com',
      new_issue_url: 'https://newissue.url.com'
    )
  end

  factory :kubernetes_service do
    project factory: :empty_project
    active true
    properties({
      api_url: 'https://kubernetes.example.com',
      token: 'a' * 40
    })
  end

  factory :prometheus_service do
    project factory: :empty_project
    active true
    properties({
      api_url: 'https://prometheus.example.com/'
    })
  end

  factory :jira_service do
    project factory: :empty_project
    active true
    properties(
      url: 'https://jira.example.com',
      project_key: 'jira-key'
    )
  end
end
{'fraction_non_alphanumeric': 0.09643605870020965, 'fraction_numerical': 0.0020964360587002098, 'mean_word_length': 3.0105042016806722, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 11, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4008821', 'n_tokens_mistral': 600, 'n_tokens_neox': 575, 'n_words': 141}