Skip to content

feat:[CORE-2016]Filter Additional columns for Policy API#2221

Open
AnandPaladin wants to merge 2 commits into
masterfrom
feature/CORE-2016
Open

feat:[CORE-2016]Filter Additional columns for Policy API#2221
AnandPaladin wants to merge 2 commits into
masterfrom
feature/CORE-2016

Conversation

@AnandPaladin
Copy link
Copy Markdown
Contributor

Description

This is related to https://paladincloud.atlassian.net/browse/CORE-2016 where as part of this PR , we need to add additional attributes (disabledReaason/disabledOn,DisabledExpiryDate) as Filter for Policy List.

Problem

Solution

DB Changes

Fixes # (issue if any)

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Checked the filter columns after making the DB changes.
image

Checklist:

  • My code follows the style guidelines of this project
  • My commit message/PR follows the contribution guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Other Information:

List any documentation updates that are needed for the Wiki

akashpaladin
akashpaladin previously approved these changes May 22, 2024
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

INSERT IGNORE INTO pac_v2_ui_options (filterId,optionName,optionValue,optionURL) VALUES (19,'Number of assets','assetCount','/admin/asset-group/filter');
INSERT IGNORE INTO pac_v2_ui_options (filterId,optionName,optionValue,optionURL) VALUES (19,'Created By','createdBy','/admin/asset-group/filter');

INSERT IGNORE INTO pac_v2_ui_options (filterId,optionName,optionValue,optionURL) VALUES (17,'DisabledReason','DisabledReason','/compliance/v1/filters/policy');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe display name for DisabledReason, DisabledOn and DisableExpiredOn should not be in camel case

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ershad-paladin as of now this requirement is PUT ON HOLD. So holding this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants