use of org.wso2.identity.integration.test.rest.api.server.identity.governance.v1.dto.CategoryRes in project identity-api-server by wso2.
the class ServerIdentityGovernanceService method getGovernanceConnectorCategory.
/**
* Get governance connector category.
*
* @param categoryId Governance connector category id.
* @return List of governance connectors for the give id.
*/
public CategoryRes getGovernanceConnectorCategory(String categoryId) {
List<ConnectorRes> connectors = getGovernanceConnectorsByCategory(categoryId);
String categoryName = new String(Base64.getUrlDecoder().decode(categoryId), StandardCharsets.UTF_8);
CategoryRes category = new CategoryRes();
category.setConnectors(connectors);
category.setName(categoryName);
return category;
}
Aggregations