Adding a Blacklist/Whitelist Rule
Scenario
RTDService supports the calculation of blacklist and whitelist rules using the PL/SQL syntax. Service managers can define blacklist and whitelist rules to decide what real-time message data needs to be calculated and processed for final decision-making. If a blacklist/whitelist rule is hit, other processing units will be skipped and the final decision result will be directly generated.
Service managers can write rules with SQL for each event source based on event source fields (event variables) and blacklist and whitelist tables (data that can be imported by users), and maintain the created blacklist and whitelist rules.
Procedure
- Log in to the RTD web UI as a service user and select a tenant. For details, see Accessing the RTDService Web UI.
- Choose Business Management > Variable Rule Configuration > Blacklist/Whitelist Filtering Rules.
- Click Add, select an event source type, set the rule name and rule type, and add SQL code and description.
- The prefix of the rule name must be fr_.
- The rule name is case insensitive and must start with a letter or underscore (_). A name can contain a maximum of 30 characters, including [A-Z], [a-z], [0-9] and _.
Figure 1 Adding a rule
Click Check Parameter, set the values of the variables used in the rule, and click Check Syntax.
If the rule fails the check, modify SQL code as prompted and perform the check again.
- After the syntax check is passed, click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot