Skip to content

api, ui: return default ui pagesize as part of capability response#5432

Merged
yadvr merged 1 commit into
apache:4.15from
shapeblue:fix-ui-defaultpagesize
Sep 10, 2021
Merged

api, ui: return default ui pagesize as part of capability response#5432
yadvr merged 1 commit into
apache:4.15from
shapeblue:fix-ui-defaultpagesize

Conversation

@shwstppr
Copy link
Copy Markdown
Contributor

@shwstppr shwstppr commented Sep 10, 2021

Description

listConfigurations is not available for all roles and therefore not fit to use in UI for a generic functionality.
This PR makes default ui pagesize a part for listCapabilities API response to make it available for UI across different role accounts.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

listConfigurations is not available for all roles and therefore not fit to use in UI for a generic functionality.
This PR makes default ui pagesize a part for listCapabilities API response to make it available for UI across different role accounts.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@shwstppr
Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@rhtyd this is a bit elaborate fix for UI login, pagesize issue. #5430 is a short one.
If this doesn't fit 4.15.2. I can rebase it for main.

@blueorangutan
Copy link
Copy Markdown

@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Sep 10, 2021

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@rhtyd a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@yadvr yadvr added this to the 4.15.2.0 milestone Sep 10, 2021
@yadvr yadvr requested a review from nvazquez September 10, 2021 12:57
@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5432 (SL-JID-630)

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Sep 10, 2021

Tested lgtm

@weizhouapache
Copy link
Copy Markdown
Member

code lgtm

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 1199

Copy link
Copy Markdown
Contributor

@nvazquez nvazquez left a comment

Choose a reason for hiding this comment

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

LGTM

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Sep 10, 2021

Manually tested; upgraded 4.15.2 RC1 to this PR using pkgs.

@yadvr yadvr merged commit c6055a2 into apache:4.15 Sep 10, 2021
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.

5 participants