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
19b47867
Commit
19b47867
authored
Jun 14, 2021
by
Alex Kalderimis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename ewm service to integration
Renames ewm project association from service to integration.
parent
b1bc22dd
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
6 deletions
+8
-6
app/models/project.rb
app/models/project.rb
+1
-1
spec/factories/integrations.rb
spec/factories/integrations.rb
+1
-1
spec/factories/projects.rb
spec/factories/projects.rb
+1
-1
spec/lib/banzai/filter/references/external_issue_reference_filter_spec.rb
...filter/references/external_issue_reference_filter_spec.rb
+3
-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/project.rb
View file @
19b47867
...
...
@@ -167,7 +167,7 @@ class Project < ApplicationRecord
has_one
:discord_integration
,
class_name:
'Integrations::Discord'
has_one
:drone_ci_integration
,
class_name:
'Integrations::DroneCi'
has_one
:emails_on_push_integration
,
class_name:
'Integrations::EmailsOnPush'
has_one
:ewm_
service
,
class_name:
'Integrations::Ewm'
has_one
:ewm_
integration
,
class_name:
'Integrations::Ewm'
has_one
:external_wiki_service
,
class_name:
'Integrations::ExternalWiki'
has_one
:flowdock_service
,
class_name:
'Integrations::Flowdock'
has_one
:hangouts_chat_service
,
class_name:
'Integrations::HangoutsChat'
...
...
spec/factories/integrations.rb
View file @
19b47867
...
...
@@ -103,7 +103,7 @@ FactoryBot.define do
issue_tracker
end
factory
:ewm_
service
,
class:
'Integrations::Ewm'
do
factory
:ewm_
integration
,
class:
'Integrations::Ewm'
do
project
active
{
true
}
issue_tracker
...
...
spec/factories/projects.rb
View file @
19b47867
...
...
@@ -426,7 +426,7 @@ FactoryBot.define do
factory
:ewm_project
,
parent: :project
do
has_external_issue_tracker
{
true
}
ewm_
service
ewm_
integration
end
factory
:project_with_design
,
parent: :project
do
...
...
spec/lib/banzai/filter/references/external_issue_reference_filter_spec.rb
View file @
19b47867
...
...
@@ -213,7 +213,9 @@ RSpec.describe Banzai::Filter::References::ExternalIssueReferenceFilter do
end
context
"ewm project"
do
let_it_be
(
:service
)
{
create
(
:ewm_service
,
project:
project
)
}
let_it_be
(
:integration
)
{
create
(
:ewm_integration
,
project:
project
)
}
let
(
:service
)
{
integration
}
# TODO: remove when https://gitlab.com/gitlab-org/gitlab/-/issues/330300 is complete
before
do
project
.
update!
(
issues_enabled:
false
)
...
...
spec/lib/gitlab/import_export/all_models.yml
View file @
19b47867
...
...
@@ -391,7 +391,7 @@ project:
-
youtrack_service
-
custom_issue_tracker_integration
-
bugzilla_integration
-
ewm_
service
-
ewm_
integration
-
external_wiki_service
-
mock_ci_service
-
mock_monitoring_service
...
...
spec/models/project_spec.rb
View file @
19b47867
...
...
@@ -65,7 +65,7 @@ RSpec.describe Project, factory_default: :keep do
it
{
is_expected
.
to
have_one
(
:youtrack_service
)
}
it
{
is_expected
.
to
have_one
(
:custom_issue_tracker_integration
)
}
it
{
is_expected
.
to
have_one
(
:bugzilla_integration
)
}
it
{
is_expected
.
to
have_one
(
:ewm_
service
)
}
it
{
is_expected
.
to
have_one
(
:ewm_
integration
)
}
it
{
is_expected
.
to
have_one
(
:external_wiki_service
)
}
it
{
is_expected
.
to
have_one
(
:confluence_integration
)
}
it
{
is_expected
.
to
have_one
(
:project_feature
)
}
...
...
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