wso2 / product-apim

Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
837 stars 781 forks source link

Admin Portal Conversion to React + REST improvements #7954

Open chathuranga95 opened 4 years ago

chathuranga95 commented 4 years ago

Description:

This is to keep track of the issues and new features/improvements regarding the Admin Portal revamping to REST+React app. Let's add a comment to this issue with the details of the changes/improvements to be done.

chathuranga95 commented 4 years ago

Add an API / Modify existing to retrieve API categories with their respective id, name, description and number of APIs under them.

Currently,GET of /api/am/admin/v0.16/api-categories returns with following response.

{
  "count": 1,
  "list": [
    {
      "id": "01234567-0123-0123-0123-012345678901",
      "name": "Finance",
      "description": "Finance related APIs"
    }
  ]
}

Need a new API or modification to the above API with following response:

{
  "count": 1,
  "list": [
    {
      "id": "01234567-0123-0123-0123-012345678901",
      "name": "Finance",
      "description": "Finance related APIs",
      "numberOfAPIs": "1"
    }
  ]
}
chathuranga95 commented 4 years ago

Add an API to validate a given user has a particular role.

Scenario: When transferring ownership of an application to a user, that user should hold the role Internal/subscriber. (Reference)

A new API is needed for this type of scenario validation.

fazlan-nazeem commented 4 years ago

Modify subscription policies DTO to support GraphQL Query Analysis

A subscription policy will have two optional fields as following to support GraphQL query analysis.

  1. MaxDepth
  2. MaxComplexity
chathuranga95 commented 4 years ago

Need to have IsEnableAnalytics property on the admin settings API.

tmkasun commented 4 years ago

@tgtshanika @kavishkafernando Shall we unpin this issue now?

kavishkafernando commented 4 years ago

+1 seems like majority of issues are fixed.