Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop edit config command #1439

Merged
merged 9 commits into from
Jun 14, 2019
Merged

Drop edit config command #1439

merged 9 commits into from
Jun 14, 2019

Conversation

bjoernricks
Copy link
Contributor

@bjoernricks bjoernricks commented Jun 6, 2019

Get rid of cmd=edit_config

Checklist:

Currently the nvt families are loaded in get_config_gmp implicitly.
Extend the global gmp object to allow requesting the list of nvt
families.
Simply request the scanconfig and the list of nvt families in parallel.
The command is unused now.
Now with get_nvt_families being an separate command get_config can be
simplified by using get_one internally.
Due to using get_one in gsad the path to the scan config xml has
changed.
The property is named maxNvtCount now.
@bjoernricks bjoernricks marked this pull request as ready for review June 6, 2019 12:47
@bjoernricks bjoernricks requested a review from a team June 6, 2019 12:47
@codecov
Copy link

codecov bot commented Jun 6, 2019

Codecov Report

Merging #1439 into master will increase coverage by 0.04%.
The diff coverage is 64.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1439      +/-   ##
==========================================
+ Coverage    36.7%   36.75%   +0.04%     
==========================================
  Files         984      985       +1     
  Lines       22156    22155       -1     
  Branches     6087     6087              
==========================================
+ Hits         8133     8142       +9     
+ Misses      12698    12688      -10     
  Partials     1325     1325
Impacted Files Coverage Δ
gsa/src/gmp/gmp.js 77.61% <ø> (ø) ⬆️
gsa/src/web/pages/scanconfigs/editdialog.js 8.77% <ø> (ø) ⬆️
gsa/src/web/pages/scanconfigs/component.js 0.59% <0%> (-0.01%) ⬇️
gsa/src/gmp/commands/scanconfigs.js 11.62% <0%> (+1.31%) ⬆️
gsa/src/gmp/commands/nvtfamilies.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b5ebe8f...b083862. Read the comment docs.

@bjoernricks bjoernricks merged commit cee9a0b into greenbone:master Jun 14, 2019
@bjoernricks bjoernricks deleted the edit-config branch June 14, 2019 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants