Create Rules - shephertz/App42_APIGateway_Docs GitHub Wiki
Rules
Before creating a rule, you need to upload jar from Rules > Upload Jar. Choose the jar and click on Upload.(To create Rules Jar Refer Writing Rules ).
Once the jar has been successfully uploaded, navigate to Rules > Manage and click on Create Rule.
Provide Name for the Rule, Select Method on which you want to apply Rules, Provide the condition , Select your rules jar file , select your Type i.e. Pre or Post and then select the jar executor class. Click on Create.
To attach rules, navigate to Rules > Attach. Select API and Rules (Pre/Post) and click on Submit.