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
14b0cb06
Commit
14b0cb06
authored
Jun 14, 2021
by
Alex Kalderimis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename Project.datadog_service to datadog_integration
Rename datadog_service association to datadog_integration
parent
b5578e0a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
app/models/integration.rb
app/models/integration.rb
+1
-0
app/models/project.rb
app/models/project.rb
+1
-1
spec/lib/gitlab/import_export/all_models.yml
spec/lib/gitlab/import_export/all_models.yml
+1
-1
spec/models/project_spec.rb
spec/models/project_spec.rb
+1
-1
No files found.
app/models/integration.rb
View file @
14b0cb06
...
...
@@ -43,6 +43,7 @@ class Integration < ApplicationRecord
asana assembla
bamboo bugzilla buildkite
campfire confluence custom_issue_tracker
datadog
]
.
to_set
.
freeze
serialize
:properties
,
JSON
# rubocop:disable Cop/ActiveRecordSerialize
...
...
app/models/project.rb
View file @
14b0cb06
...
...
@@ -155,7 +155,7 @@ class Project < ApplicationRecord
has_one
:campfire_integration
,
class_name:
'Integrations::Campfire'
has_one
:confluence_integration
,
class_name:
'Integrations::Confluence'
has_one
:custom_issue_tracker_integration
,
class_name:
'Integrations::CustomIssueTracker'
has_one
:datadog_
service
,
class_name:
'Integrations::Datadog'
has_one
:datadog_
integration
,
class_name:
'Integrations::Datadog'
has_one
:discord_service
,
class_name:
'Integrations::Discord'
has_one
:drone_ci_service
,
class_name:
'Integrations::DroneCi'
has_one
:emails_on_push_service
,
class_name:
'Integrations::EmailsOnPush'
...
...
spec/lib/gitlab/import_export/all_models.yml
View file @
14b0cb06
...
...
@@ -363,7 +363,7 @@ project:
-
integrations
-
campfire_integration
-
confluence_integration
-
datadog_
service
-
datadog_
integration
-
discord_service
-
drone_ci_service
-
emails_on_push_service
...
...
spec/models/project_spec.rb
View file @
14b0cb06
...
...
@@ -46,7 +46,7 @@ RSpec.describe Project, factory_default: :keep do
it
{
is_expected
.
to
have_one
(
:asana_integration
)
}
it
{
is_expected
.
to
have_many
(
:boards
)
}
it
{
is_expected
.
to
have_one
(
:campfire_integration
)
}
it
{
is_expected
.
to
have_one
(
:datadog_
service
)
}
it
{
is_expected
.
to
have_one
(
:datadog_
integration
)
}
it
{
is_expected
.
to
have_one
(
:discord_service
)
}
it
{
is_expected
.
to
have_one
(
:drone_ci_service
)
}
it
{
is_expected
.
to
have_one
(
:emails_on_push_service
)
}
...
...
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