wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
748 stars 729 forks source link

[Development] Bind `templateId` to Application Listing Component #10681

Closed brionmario closed 3 weeks ago

brionmario commented 3 years ago

Feature/Improvement

Add templateId to Application Listing Component

Description

Currently, Application REST APIs listing endpoint don't provide the templateId. **** (Now the BE implementation is completed with https://github.com/wso2/product-is/issues/10681#issuecomment-1169497984). In Console, we are displaying the template name on the application edit page as follows.

Screen Shot 2020-12-04 at 6 20 12 PM

And we are not showing the template in the listing which gives bad UX.

Screen Shot 2020-12-04 at 6 21 25 PM

Describe the solution you propose

Improve the Application listing endpoint to include templateId in the response and add a label to the application listing item to display the templateId and later on implement to filter applications based on that criteria.

Design

https://github.com/wso2/product-is/issues/14114

Effort and Timeline

Effort Type Estimation - Budgeted Estimation - Definitive Actual Time
BE 10 10 XX
FE 10 10 XX
SRE 0 0 0
QA 2 2 XX
DoC 0 0 XX
Total 22 22 XX

Expected date in prod: 27-07-2022 Delivered date in prod: DD-MM-YYYY

Delivery

Task breakdown

Phase 1

MVP 1:

MVP 2:

MVP 3:

MVP 4:

Delivery plan

N/A

Check Items

mefarazath commented 3 years ago

With the current schema, we have few limitations in supporting this without introducing perf hits.

In the current schema, application basic information is maintained in the table 'SP_APP', while the templateID is stored in the 'SP_METADATA' table.

image

Application Listing works on the SP_APP table. If we are to support sending templateID as an attribute in the application list response, then

  1. Fetch the templateID from SP_METADATA for each listed application before building the list response
  2. Modify the list application query to join SP_APP and SP_METADATA table
  3. Make templateID a dedicated column in SP_APP
yasinmiran commented 2 years ago
yasinmiran commented 2 years ago

Implementation PRs did by @VivekVinushanth

Mapping related issue

yasinmiran commented 2 years ago

@malshan1998 please cherry-pick take the changelist of https://github.com/wso2/identity-apps/pull/3091 locally and test these changes work without any issue.

malshan1998 commented 2 years ago

Weekly update summary - 29-07-2022

Current status

Action items for next week

malshan1998 commented 2 years ago

Changing the milestone

Updated the milestone to August from July, since the development is still in progress. To do:

malshan1998 commented 2 years ago

Weekly update summary - 03-08-2022

Current status

Action items for next week

malshan1998 commented 2 years ago

Weekly update summary - 17-08-2022

Current status

Action items for next week

malshan1998 commented 2 years ago

Weekly update summary - 31-08-2022

Current status

isharak commented 3 weeks ago

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!