Fix:Add plugins config
@@ -4,6 +4,12 @@ resources:
- path: '/api/v1/test-dubbo/user'
type: restful
description: user
+ plugins:
+ groupNames:
+ - group2
+ pluginNames:
+ - rate limit
+ - access
methods:
- httpVerb: GET
onAir: true
@@ -36,3 +42,21 @@ resources:
path: /UserProvider/CreateUser
group: "test"
version: 1.0.0
+pluginFilePath: ""
+pluginsGroup:
+ - groupName: "group1"
+ plugins:
+ - name: "rate limit"
+ version: "0.0.1"
+ priority: 1000
+ externalLookupName: "ExternalPluginRateLimit"
+ - name: "access"
+ version: "0.0.1"
+ priority: 1000
+ externalLookupName: "ExternalPluginAccess"
+ - groupName: "group2"
+ plugins:
+ - name: "blacklist"
+ version: "0.0.1"
+ priority: 1000
+ externalLookupName: "ExternalPluginBlackList"
\ No newline at end of file
