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
7fa0cb7c
Commit
7fa0cb7c
authored
Jan 14, 2021
by
Alexander Turinske
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused chart svg from threat monitoring
- remove all reference to it - remove svg data in template
parent
50b64375
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
9 deletions
+0
-9
ee/app/assets/javascripts/threat_monitoring/components/app.vue
...p/assets/javascripts/threat_monitoring/components/app.vue
+0
-4
ee/app/assets/javascripts/threat_monitoring/index.js
ee/app/assets/javascripts/threat_monitoring/index.js
+0
-2
ee/app/views/projects/threat_monitoring/show.html.haml
ee/app/views/projects/threat_monitoring/show.html.haml
+0
-1
ee/spec/frontend/threat_monitoring/components/app_spec.js
ee/spec/frontend/threat_monitoring/components/app_spec.js
+0
-2
No files found.
ee/app/assets/javascripts/threat_monitoring/components/app.vue
View file @
7fa0cb7c
...
...
@@ -32,10 +32,6 @@ export default {
type
:
Number
,
required
:
true
,
},
chartEmptyStateSvgPath
:
{
type
:
String
,
required
:
true
,
},
wafNoDataSvgPath
:
{
type
:
String
,
required
:
true
,
...
...
ee/app/assets/javascripts/threat_monitoring/index.js
View file @
7fa0cb7c
...
...
@@ -18,7 +18,6 @@ export default () => {
networkPolicyStatisticsEndpoint
,
environmentsEndpoint
,
networkPoliciesEndpoint
,
chartEmptyStateSvgPath
,
emptyStateSvgPath
,
wafNoDataSvgPath
,
networkPolicyNoDataSvgPath
,
...
...
@@ -53,7 +52,6 @@ export default () => {
render
(
createElement
)
{
return
createElement
(
ThreatMonitoringApp
,
{
props
:
{
chartEmptyStateSvgPath
,
wafNoDataSvgPath
,
networkPolicyNoDataSvgPath
,
defaultEnvironmentId
:
parseInt
(
defaultEnvironmentId
,
10
),
...
...
ee/app/views/projects/threat_monitoring/show.html.haml
View file @
7fa0cb7c
...
...
@@ -4,7 +4,6 @@
-
default_environment_id
=
@project
.
default_environment
&
.
id
||
-
1
#js-threat-monitoring-app
{
data:
{
documentation_path:
'https://docs.gitlab.com/ee/user/application_security/threat_monitoring/'
,
chart_empty_state_svg_path:
image_path
(
'illustrations/chart-empty-state.svg'
),
empty_state_svg_path:
image_path
(
'illustrations/monitoring/unable_to_connect.svg'
),
waf_no_data_svg_path:
image_path
(
'illustrations/firewall-not-detected-sm.svg'
),
network_policy_no_data_svg_path:
image_path
(
'illustrations/network-policies-not-detected-sm.svg'
),
...
...
ee/spec/frontend/threat_monitoring/components/app_spec.js
View file @
7fa0cb7c
...
...
@@ -14,7 +14,6 @@ import axios from '~/lib/utils/axios_utils';
const
defaultEnvironmentId
=
3
;
const
documentationPath
=
'
/docs
'
;
const
newPolicyPath
=
'
/policy/new
'
;
const
chartEmptyStateSvgPath
=
'
/chart-svgs
'
;
const
emptyStateSvgPath
=
'
/svgs
'
;
const
wafNoDataSvgPath
=
'
/waf-no-data-svg
'
;
const
networkPolicyNoDataSvgPath
=
'
/network-policy-no-data-svg
'
;
...
...
@@ -43,7 +42,6 @@ describe('ThreatMonitoringApp component', () => {
shallowMount
(
ThreatMonitoringApp
,
{
propsData
:
{
defaultEnvironmentId
,
chartEmptyStateSvgPath
,
emptyStateSvgPath
,
wafNoDataSvgPath
,
networkPolicyNoDataSvgPath
,
...
...
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