Commit 0e8aae4e authored by Alex Kalderimis's avatar Alex Kalderimis

Rename mock_monitoring_service to integration

Renames dev project association to mock_monitoring_integration.
parent e2f64565
......@@ -49,7 +49,7 @@ class Integration < ApplicationRecord
hangouts_chat
irker
packagist pipelines_email pivotaltracker pushover
mattermost mattermost_slash_commands microsoft_teams mock_ci
mattermost mattermost_slash_commands microsoft_teams mock_ci mock_monitoring
].to_set.freeze
def self.renamed?(name)
......
......@@ -178,6 +178,7 @@ class Project < ApplicationRecord
has_one :mattermost_slash_commands_integration, class_name: 'Integrations::MattermostSlashCommands'
has_one :microsoft_teams_integration, class_name: 'Integrations::MicrosoftTeams'
has_one :mock_ci_integration, class_name: 'Integrations::MockCi'
has_one :mock_monitoring_integration, class_name: 'MockMonitoringService'
has_one :packagist_integration, class_name: 'Integrations::Packagist'
has_one :pipelines_email_integration, class_name: 'Integrations::PipelinesEmail'
has_one :pivotaltracker_integration, class_name: 'Integrations::Pivotaltracker'
......@@ -190,7 +191,6 @@ class Project < ApplicationRecord
has_one :webex_teams_service, class_name: 'Integrations::WebexTeams'
has_one :youtrack_service, class_name: 'Integrations::Youtrack'
has_one :prometheus_service, inverse_of: :project
has_one :mock_monitoring_service
has_one :root_of_fork_network,
foreign_key: 'root_project_id',
......
......@@ -6,7 +6,7 @@ class Gitlab::Seeder::Environments
end
def seed!
@project.create_mock_monitoring_service!(active: true)
@project.create_mock_monitoring_integration!(active: true)
create_master_deployments!('production')
create_master_deployments!('staging')
......
......@@ -394,7 +394,7 @@ project:
- ewm_integration
- external_wiki_integration
- mock_ci_integration
- mock_monitoring_service
- mock_monitoring_integration
- forked_to_members
- forked_from_project
- forks
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment