-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathshared-policies.yml
47 lines (47 loc) · 1.16 KB
/
shared-policies.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Shared policies example
---
system:
gateways:
- name: "test-gw"
description: "Test Gateway"
type: "REST"
config:
endpoint: "http://localhost:8080/apiman-gateway-api"
username: "apimanager"
password: "apiman123!"
plugins:
- groupId: "io.apiman.plugins"
artifactId: "apiman-plugins-test-policy"
version: "1.4.3.Final"
shared:
policies:
- $id: "sharedPolicy"
name: "CachingPolicy"
config:
ttl: 60
org:
name: "test"
description: "Test organisation"
apis:
- name: "example1"
description: "Example API 1"
version: "1.0"
published: true
config:
endpoint: "http://example.com"
endpointType: "rest"
public: true
gateway: "test-gw"
policies:
- "sharedPolicy"
- name: "example2"
description: "Example API 2"
version: "1.0"
published: true
config:
endpoint: "http://example.com"
endpointType: "rest"
public: true
gateway: "test-gw"
policies:
- "sharedPolicy"