Class GetRuleByType
java.lang.Object
net.lightapi.portal.rule.query.handler.GetRuleByType
- All Implemented Interfaces:
com.networknt.rpc.HybridHandler
Get a list of rules for a host by rule type. The light-portal uses this endpoint to populate the list of rules
for the endpoint access and filter rules. As the result is used by the react-schema-form-rc-select, it needs to
be a list of key/value pairs for the dropdowns.
This API return all the rules for the host by the rule type and also the common rules with the same rule type.
- Author:
- Steve Hu
-
Field Summary
FieldsFields inherited from interface com.networknt.rpc.HybridHandler
ERROR_NOT_DEFINED, REQUEST_SUCCESS, STATUS_VALIDATION_ERROR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.networknt.rpc.HybridHandler
getStatus, getStatus, validate
-
Field Details
-
dbProvider
public static net.lightapi.portal.db.PortalDbProvider dbProvider
-
-
Constructor Details
-
GetRuleByType
public GetRuleByType()
-
-
Method Details
-
handle
- Specified by:
handlein interfacecom.networknt.rpc.HybridHandler
-