From c5bc5775ba759ac4d404f1fd9aa09ef45091a963 Mon Sep 17 00:00:00 2001 From: Thamindu Aluthwala Date: Fri, 22 Sep 2023 09:49:31 +0530 Subject: [PATCH] Add filter support for type attribute --- .../resource/mgt/constant/APIResourceManagementConstants.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/api-resource-mgt/org.wso2.carbon.identity.api.resource.mgt/src/main/java/org/wso2/carbon/identity/api/resource/mgt/constant/APIResourceManagementConstants.java b/components/api-resource-mgt/org.wso2.carbon.identity.api.resource.mgt/src/main/java/org/wso2/carbon/identity/api/resource/mgt/constant/APIResourceManagementConstants.java index 77a57d552b72..25b2f84bcc8a 100644 --- a/components/api-resource-mgt/org.wso2.carbon.identity.api.resource.mgt/src/main/java/org/wso2/carbon/identity/api/resource/mgt/constant/APIResourceManagementConstants.java +++ b/components/api-resource-mgt/org.wso2.carbon.identity.api.resource.mgt/src/main/java/org/wso2/carbon/identity/api/resource/mgt/constant/APIResourceManagementConstants.java @@ -29,6 +29,7 @@ public class APIResourceManagementConstants { public static final String NAME = "name"; public static final String IDENTIFIER = "identifier"; + public static final String TYPE = "type"; public static final String BEFORE = "before"; public static final String AFTER = "after"; public static final String EQ = "eq"; @@ -52,6 +53,7 @@ public class APIResourceManagementConstants { attributeColumnMap.put(IDENTIFIER, SQLConstants.IDENTIFIER_COLUMN_NAME); attributeColumnMap.put(BEFORE, SQLConstants.CURSOR_KEY_COLUMN_NAME); attributeColumnMap.put(AFTER, SQLConstants.CURSOR_KEY_COLUMN_NAME); + attributeColumnMap.put(TYPE, SQLConstants.TYPE_COLUMN_NAME); scopeAttributeColumnMap.put(NAME, SQLConstants.NAME_COLUMN_NAME); }