Skip to content

Commit

Permalink
fix(scans): ds-675 remove decision manager check (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolearagao authored Oct 15, 2024
1 parent 859471a commit 6a08ef7
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions src/constants/apiConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ const API_SUBMIT_SCAN_NAME = 'name';
const API_SUBMIT_SCAN_OPTIONS = 'options';
const API_SUBMIT_SCAN_OPTIONS_MAX_CONCURRENCY = 'max_concurrency';
const API_SUBMIT_SCAN_OPTIONS_EXTENDED_SEARCH = 'enabled_extended_product_search';
const API_SUBMIT_SCAN_OPTIONS_EXTENDED_SEARCH_BRMS = 'jboss_brms';
const API_SUBMIT_SCAN_OPTIONS_EXTENDED_SEARCH_DIRS = 'search_directories';
const API_SUBMIT_SCAN_OPTIONS_EXTENDED_SEARCH_EAP = 'jboss_eap';
const API_SUBMIT_SCAN_OPTIONS_EXTENDED_SEARCH_FUSE = 'jboss_fuse';
Expand Down Expand Up @@ -267,7 +266,6 @@ const apiTypes = {
API_SUBMIT_SCAN_OPTIONS,
API_SUBMIT_SCAN_OPTIONS_MAX_CONCURRENCY,
API_SUBMIT_SCAN_OPTIONS_EXTENDED_SEARCH,
API_SUBMIT_SCAN_OPTIONS_EXTENDED_SEARCH_BRMS,
API_SUBMIT_SCAN_OPTIONS_EXTENDED_SEARCH_DIRS,
API_SUBMIT_SCAN_OPTIONS_EXTENDED_SEARCH_EAP,
API_SUBMIT_SCAN_OPTIONS_EXTENDED_SEARCH_FUSE,
Expand Down Expand Up @@ -387,7 +385,6 @@ export {
API_SUBMIT_SCAN_OPTIONS,
API_SUBMIT_SCAN_OPTIONS_MAX_CONCURRENCY,
API_SUBMIT_SCAN_OPTIONS_EXTENDED_SEARCH,
API_SUBMIT_SCAN_OPTIONS_EXTENDED_SEARCH_BRMS,
API_SUBMIT_SCAN_OPTIONS_EXTENDED_SEARCH_DIRS,
API_SUBMIT_SCAN_OPTIONS_EXTENDED_SEARCH_EAP,
API_SUBMIT_SCAN_OPTIONS_EXTENDED_SEARCH_FUSE,
Expand Down
1 change: 0 additions & 1 deletion src/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ export type ScanJobType = {
enabled_extended_product_search: {
jboss_eap: false;
jboss_fuse: false;
jboss_brms: false;
jboss_ws: false;
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ exports[`AddSourceModal should call onSubmit with the correct filtered data when
"name": "Test Scan",
"options": {
"enabled_extended_product_search": {
"jboss_brms": false,
"jboss_eap": false,
"jboss_fuse": false,
"jboss_ws": false,
Expand Down
4 changes: 1 addition & 3 deletions src/views/sources/addSourcesScanModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ const AddSourcesScanModal: React.FC<AddSourcesScanModalProps> = ({
options: {
max_concurrency: values['scan-max-concurrent'],
enabled_extended_product_search: {
jboss_brms: deepScans.includes('jboss_brms'),
jboss_eap: deepScans.includes('jboss_eap'),
jboss_fuse: deepScans.includes('jboss_fuse'),
jboss_ws: deepScans.includes('jboss_ws'),
Expand Down Expand Up @@ -121,8 +120,7 @@ const AddSourcesScanModal: React.FC<AddSourcesScanModalProps> = ({
{[
{ label: 'JBoss EAP', value: 'jboss_eap' },
{ label: 'Fuse', value: 'jboss_fuse' },
{ label: 'JBoss web server', value: 'jboss_ws' },
{ label: 'Decision manager', value: 'jboss_brms' }
{ label: 'JBoss web server', value: 'jboss_ws' }
].map(o => (
<Checkbox
key={`deep-scan-${o.value}`}
Expand Down

0 comments on commit 6a08ef7

Please sign in to comment.