Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0e8aae4e
Commit
0e8aae4e
authored
Jun 17, 2021
by
Alex Kalderimis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename mock_monitoring_service to integration
Renames dev project association to mock_monitoring_integration.
parent
e2f64565
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
app/models/integration.rb
app/models/integration.rb
+1
-1
app/models/project.rb
app/models/project.rb
+1
-1
db/fixtures/development/19_environments.rb
db/fixtures/development/19_environments.rb
+1
-1
spec/lib/gitlab/import_export/all_models.yml
spec/lib/gitlab/import_export/all_models.yml
+1
-1
No files found.
app/models/integration.rb
View file @
0e8aae4e
...
@@ -49,7 +49,7 @@ class Integration < ApplicationRecord
...
@@ -49,7 +49,7 @@ class Integration < ApplicationRecord
hangouts_chat
hangouts_chat
irker
irker
packagist pipelines_email pivotaltracker pushover
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
]
.
to_set
.
freeze
def
self
.
renamed?
(
name
)
def
self
.
renamed?
(
name
)
...
...
app/models/project.rb
View file @
0e8aae4e
...
@@ -178,6 +178,7 @@ class Project < ApplicationRecord
...
@@ -178,6 +178,7 @@ class Project < ApplicationRecord
has_one
:mattermost_slash_commands_integration
,
class_name:
'Integrations::MattermostSlashCommands'
has_one
:mattermost_slash_commands_integration
,
class_name:
'Integrations::MattermostSlashCommands'
has_one
:microsoft_teams_integration
,
class_name:
'Integrations::MicrosoftTeams'
has_one
:microsoft_teams_integration
,
class_name:
'Integrations::MicrosoftTeams'
has_one
:mock_ci_integration
,
class_name:
'Integrations::MockCi'
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
:packagist_integration
,
class_name:
'Integrations::Packagist'
has_one
:pipelines_email_integration
,
class_name:
'Integrations::PipelinesEmail'
has_one
:pipelines_email_integration
,
class_name:
'Integrations::PipelinesEmail'
has_one
:pivotaltracker_integration
,
class_name:
'Integrations::Pivotaltracker'
has_one
:pivotaltracker_integration
,
class_name:
'Integrations::Pivotaltracker'
...
@@ -190,7 +191,6 @@ class Project < ApplicationRecord
...
@@ -190,7 +191,6 @@ class Project < ApplicationRecord
has_one
:webex_teams_service
,
class_name:
'Integrations::WebexTeams'
has_one
:webex_teams_service
,
class_name:
'Integrations::WebexTeams'
has_one
:youtrack_service
,
class_name:
'Integrations::Youtrack'
has_one
:youtrack_service
,
class_name:
'Integrations::Youtrack'
has_one
:prometheus_service
,
inverse_of: :project
has_one
:prometheus_service
,
inverse_of: :project
has_one
:mock_monitoring_service
has_one
:root_of_fork_network
,
has_one
:root_of_fork_network
,
foreign_key:
'root_project_id'
,
foreign_key:
'root_project_id'
,
...
...
db/fixtures/development/19_environments.rb
View file @
0e8aae4e
...
@@ -6,7 +6,7 @@ class Gitlab::Seeder::Environments
...
@@ -6,7 +6,7 @@ class Gitlab::Seeder::Environments
end
end
def
seed!
def
seed!
@project
.
create_mock_monitoring_
service
!
(
active:
true
)
@project
.
create_mock_monitoring_
integration
!
(
active:
true
)
create_master_deployments!
(
'production'
)
create_master_deployments!
(
'production'
)
create_master_deployments!
(
'staging'
)
create_master_deployments!
(
'staging'
)
...
...
spec/lib/gitlab/import_export/all_models.yml
View file @
0e8aae4e
...
@@ -394,7 +394,7 @@ project:
...
@@ -394,7 +394,7 @@ project:
-
ewm_integration
-
ewm_integration
-
external_wiki_integration
-
external_wiki_integration
-
mock_ci_integration
-
mock_ci_integration
-
mock_monitoring_
service
-
mock_monitoring_
integration
-
forked_to_members
-
forked_to_members
-
forked_from_project
-
forked_from_project
-
forks
-
forks
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment