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
d54c10d6
Commit
d54c10d6
authored
Jun 04, 2021
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move ContainerRuntimePolicy to policy_drawer dir
parent
57206451
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
ee/app/assets/javascripts/threat_monitoring/components/policy_drawer/container_runtime_policy.vue
...ing/components/policy_drawer/container_runtime_policy.vue
+3
-3
ee/app/assets/javascripts/threat_monitoring/components/policy_drawer/network_policy_drawer.vue
...toring/components/policy_drawer/network_policy_drawer.vue
+1
-1
ee/spec/frontend/threat_monitoring/components/policy_drawer/network_policy_drawer_spec.js
...ng/components/policy_drawer/network_policy_drawer_spec.js
+1
-1
ee/spec/frontend/threat_monitoring/components/policy_editor/container_runtime_policy_spec.js
...components/policy_editor/container_runtime_policy_spec.js
+1
-1
No files found.
ee/app/assets/javascripts/threat_monitoring/components/policy_
edito
r/container_runtime_policy.vue
→
ee/app/assets/javascripts/threat_monitoring/components/policy_
drawe
r/container_runtime_policy.vue
View file @
d54c10d6
<
script
>
<
script
>
import
{
__
}
from
'
~/locale
'
;
import
{
__
}
from
'
~/locale
'
;
import
fromYaml
,
{
removeUnnecessaryDashes
}
from
'
./lib/from_yaml
'
;
import
fromYaml
,
{
removeUnnecessaryDashes
}
from
'
.
./policy_editor
/lib/from_yaml
'
;
import
humanizeNetworkPolicy
from
'
./lib/humanize
'
;
import
humanizeNetworkPolicy
from
'
.
./policy_editor
/lib/humanize
'
;
import
PolicyPreview
from
'
./policy_preview.vue
'
;
import
PolicyPreview
from
'
.
./policy_editor
/policy_preview.vue
'
;
export
default
{
export
default
{
components
:
{
components
:
{
...
...
ee/app/assets/javascripts/threat_monitoring/components/policy_drawer/network_policy_drawer.vue
View file @
d54c10d6
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
import
{
GlButton
,
GlDrawer
}
from
'
@gitlab/ui
'
;
import
{
GlButton
,
GlDrawer
}
from
'
@gitlab/ui
'
;
import
{
getContentWrapperHeight
}
from
'
../../utils
'
;
import
{
getContentWrapperHeight
}
from
'
../../utils
'
;
import
{
CiliumNetworkPolicyKind
}
from
'
../policy_editor/constants
'
;
import
{
CiliumNetworkPolicyKind
}
from
'
../policy_editor/constants
'
;
import
ContainerRuntimePolicy
from
'
.
./policy_editor
/container_runtime_policy.vue
'
;
import
ContainerRuntimePolicy
from
'
./container_runtime_policy.vue
'
;
export
default
{
export
default
{
components
:
{
components
:
{
...
...
ee/spec/frontend/threat_monitoring/components/policy_drawer/network_policy_drawer_spec.js
View file @
d54c10d6
import
ContainerRuntimePolicy
from
'
ee/threat_monitoring/components/policy_drawer/container_runtime_policy.vue
'
;
import
NetworkPolicyDrawer
from
'
ee/threat_monitoring/components/policy_drawer/network_policy_drawer.vue
'
;
import
NetworkPolicyDrawer
from
'
ee/threat_monitoring/components/policy_drawer/network_policy_drawer.vue
'
;
import
ContainerRuntimePolicy
from
'
ee/threat_monitoring/components/policy_editor/container_runtime_policy.vue
'
;
import
{
mountExtended
}
from
'
helpers/vue_test_utils_helper
'
;
import
{
mountExtended
}
from
'
helpers/vue_test_utils_helper
'
;
import
{
mockPoliciesResponse
,
mockCiliumPolicy
}
from
'
../../mocks/mock_data
'
;
import
{
mockPoliciesResponse
,
mockCiliumPolicy
}
from
'
../../mocks/mock_data
'
;
...
...
ee/spec/frontend/threat_monitoring/components/policy_editor/container_runtime_policy_spec.js
View file @
d54c10d6
import
ContainerRuntimePolicy
from
'
ee/threat_monitoring/components/policy_
edito
r/container_runtime_policy.vue
'
;
import
ContainerRuntimePolicy
from
'
ee/threat_monitoring/components/policy_
drawe
r/container_runtime_policy.vue
'
;
import
toYaml
from
'
ee/threat_monitoring/components/policy_editor/lib/to_yaml
'
;
import
toYaml
from
'
ee/threat_monitoring/components/policy_editor/lib/to_yaml
'
;
import
PolicyPreview
from
'
ee/threat_monitoring/components/policy_editor/policy_preview.vue
'
;
import
PolicyPreview
from
'
ee/threat_monitoring/components/policy_editor/policy_preview.vue
'
;
import
{
shallowMountExtended
}
from
'
helpers/vue_test_utils_helper
'
;
import
{
shallowMountExtended
}
from
'
helpers/vue_test_utils_helper
'
;
...
...
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